Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
String Format for DateTime [C#]
M B
Apr 26 2016 9:04 AM
424
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
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Response Redirect is not working
Single user login in Web Application