Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
String Format for DateTime [C#]
M B
8y
449
1
Reply
Code here :-
string CurrentTime = String.Format("{00:t}", DateTime.Now);
OutPut Something like this :- 9:45 AM
how can get time value something like this :- 09:45 AM
please
let
me know how to get this Time format :-
09:45 AM
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Response Redirect is not working
Single user login in Web Application