July 22, 2008

Standard Date Format Specifiers

Here's a list of the standard date format specifiers:
d: short date
D: long date
t: short time
T: long time
f: full Date/Time with short time
F: full Date/Time with long time
g: general Date/Time with short time
G: general Date/Time with long time
M or m: month day
R or r: RFC1123
s: sortable Date/Time that conforms to ISO 8601
u: universal sortable Date/Time
U: full Date/Time with long time. (This format is the same as F, but it uses universal GMT time.)
Y or y: year month

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home