Examples of Date & Time Formats

Format CodeDisplay
mm/dd/yyyy 01/02/2010
m/d/yy1/2/10
ddd, mmmm d, yyyy Sat, January 2, 2010
m/dd/yyyy hh:mm:ss.00 AM/PM            5/15/2011 12:59:02.40 PM          
h:mm:s 1:17:2
hh:mm:ss 01:17:02

Comments

Popular posts from this blog

50 Excel VBA Oral Interview Questions