skip to main
|
skip to sidebar
SiLentThReaD's Blog
Wednesday, November 5, 2008
Get current time of the day, non-military
Say you wanted to get the current time of the day into a string in the format of something like 05:19 PM.
This is how you do it….
DateTime.Now.ToString("hh:mm tt")
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment