Function Shows
DateTime.Now.TimeOfDay() 13:39:21.0363750
DateTime.Now.ToShortTimeString() 1:39 PM
DateTime.Now.ToString("HH:mm ss tt") 13:39 21 PM
DateTime.Now.ToString("hh:mm ss tt") 01:39 21 PM
DateTime.Now.ToString("HHmm") 1339
DateTime.Now.TimeOfDay() 13:39:21.0363750
DateTime.Now.ToShortTimeString() 1:39 PM
DateTime.Now.ToString("HH:mm ss tt") 13:39 21 PM
DateTime.Now.ToString("hh:mm ss tt") 01:39 21 PM
DateTime.Now.ToString("HHmm") 1339
0 comments:
Post a Comment