Formatting Date Values

DateTime Formatting: (January 19, 2005 16:05:20) en-US

Format Value Displayed Format Value Displayed
d 1/19/2005 Y or y January, 2005
D Wednesday, January 19, 2005 t 4:05 PM
f Wednesday, January 19, 2005 4:05:20 PM T 4:05:20 PM
F Wednesday, January 19, 2005 4:05 PM s 2005-01-19T16:05:20
g 1/19/2005 4:05 PM u 2005-01-19 16:05:20Z
G 1/19/2005 4:05:20 PM U Wednesday, January 19, 2005 21:05:20PM
M or m January 19