Click here to Skip to main content
15,895,746 members

Comments by Yücel Güven (Top 2 by date)

Yücel Güven 16-Nov-13 10:28am View    
Capital letters for time uses 24hr format.
"HH" displays hour as 24hr format, whereas "hh" display as 12hr format
Yücel Güven 16-Nov-13 10:16am View    
Just as an addition to OriginalGriff's solution, you can also change the time format with:
myLabel.Text = DateTime.Now.ToString("HH:mm:ss.fff");