-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
FormatDescription
%aThe abbreviated weekday name according to the current locale
%Athe full weekday name according to the current locale
%bThe abbreviated month name according to the current locale
%BThe full month name according to the current locale
%dThe day of the month as a decimal number (range 01 to 31)
%eThe day of the month as a decimal number (range 1 to 31)
%FEquivalent to %Y-%m-%d (the ISO 8601 date format)
%HThe hour as a decimal number using a 24-hour clock (range 00 to 23)
%IThe hour as a decimal number using a 12-hour clock (range 01 to 12)
%kThe hour (24-hour clock) as a decimal number (range 0 to 23); single digits are preceded by a blank
%lThe hour (12-hour clock) as a decimal number (range 1 to 12); single digits are preceded by a blank
%mThe month as a decimal number (range 01 to 12)
%MThe minute as a decimal number (range 00 to 59)
%pEither "AM" or "PM" according to the given time value, or the corresponding strings for the current locale. Noon is treated as "PM" and midnight as "AM".
%PLike %p but lowercase: "am" or "pm" or a corresponding string for the current locale
%rThe time in a.m. or p.m. notation
%RThe time in 24-hour notation (%H:%M)
%SThe second as a decimal number (range 00 to 60)
%TThe time in 24-hour notation with seconds (%H:%M:%S)
%yThe year as a decimal number without the century
%YThe year as a decimal number including the century
%%A literal % character