%a
|
Abbreviated name of day.
Sun
|
%A
|
Name of day.
Sunday
|
%b
|
Abbreviated name of month.
Jan
|
%B
|
Name of Month.
January
|
%c
|
Locale date and time.
MM/DD/YY HH:MM:SS
|
%C
|
Locale date and time.
MM/DD/YYYY HH:MM:SS
|
%d
|
Day of month.
[ 01 .. 31 ]
|
%g
|
The era.
AD
|
%H
|
Hour in AM/PM.
[ 01 .. 12 ]
|
%I
|
Hour in day.
[ 00 .. 23 ]
|
%J
|
Day of the year.
[ 000 .. 366 ]
|
%m
|
The month.
[ 01 .. 12 ]
|
%M
|
The minutes.
[ 00 .. 59 ]
|
%p
|
The locale AM/PM.
AM
|
%S
|
The seconds.
[ 00 .. 59 ]
|
%U
|
Week of the year.
[ 00 .. 51 ]
|
%w
|
Day of the week.
[ 0 .. 6 ]
|
%W
|
Week of the year.
[ 00 .. 51 ]
|
%x
|
Locale date.
MM/DD/YY
|
%X
|
Locale time.
HH:MM:SS
|
%y
|
The year.
98
|
%Y
|
The year.
1998
|
%z
|
The time zone.
EST
|
%%
|
Percent sign.
%
|
text
|
Any text to be literally inserted.
Date:
|