%%
|
the string "%"
|
%a
|
abbreviated weekday name
|
%A
|
the full weekday name
|
%b
|
abbreviated month name
|
%B
|
full month name
|
%c
|
a standard date and time representation
|
%C
|
the century number (the year divided by 100 and truncated to an integer in the range 01 - 99)
|
%d
|
a two-digit day of the month number
|
%D
|
the date in the form MM/DD/YY.
|
%e
|
the day of the month (01-31).
|
%H
|
the hour in a 24-hour clock (00-23).
|
%I
|
the hour in a 12-hour clock (01-12).
|
%j
|
day number (01-366).
|
%k
|
the hour in a 24-hour clock ( 0-23).
|
%l
|
the hour in a 12-hour clock ( 1-12).
|
%m
|
the month number (01-12).
|
%M
|
the minute after the hour (00-59).
|
%n
|
a newline character
|
%p
|
a.m. or p.m.
|
%r
|
time representation for a 12-hour clock (using %p).
|
%R
|
the same as %H:%M.
|
%S
|
seconds after the minute (00-61)
|
%t
|
a tab character
|
%T
|
same as %H:%M:%S.
|
%u
|
weekday as a decimal number (1-7; 1 = Sunday).
|
%U
|
week number of the year (00-53); Sunday is the first day of week 1.
|
%V
|
The ISO 8601 week number (01-53).
|
%w
|
weekday (0-6); 0 = Sunday.
|
%x
|
a standard date representation.
|
%X
|
a standard time representation.
|
%y
|
year within the century (00-99)
|
%Y
|
year including the century (YYYY)
|
%Z
|
time zone name or abbreviation, if available.
|