Skip to content

Latest commit

 

History

History
26 lines (25 loc) · 632 Bytes

File metadata and controls

26 lines (25 loc) · 632 Bytes

format date

%a    Abbrev­iated weekday (Sun)
%A    Weekday (Sunday)
%b    Abbrev­iated month name (Jan)
%B    Month name (January)
%c    Date and time
%d    Day (leading zeros) (01 to 31)
%H    24 hour (leading zeros) (00 to 23)
%I    12 hour (leading zeros) (01 to 12)
%j    Day of year (001 to 366)
%m    Month (01 to 12)
%M    Minute (00 to 59)
%p    AM or PM
%S    Second (00 to 61⁴)
%U    Week number¹ (00 to 53)
%w    Weekday² (0 to 6)
%W    Week number³ (00 to 53)
%x    Date
%X    Time
%y    Year without century (00 to 99)
%Y    Year (2008)
%Z    Time zone (GMT)
%%    A literal "­%" character (%)