3.2.3.2 Date Components
The following format directives print single components of the date.
a
- locale's abbreviated weekday name (Sun..Sat)
A
- locale's full weekday name, variable length (Sunday..Saturday)
b
h
- locale's abbreviated month name (Jan..Dec)
B
- locale's full month name, variable length (January..December)
m
- month (01..12)
d
- day of month (01..31)
w
- day of week (0..6)
j
- day of year (001..366)
U
- week number of year with Sunday as first day of week (00..53)
W
- week number of year with Monday as first day of week (00..53)
Y
- year (1970...)
y
- last two digits of year (00..99)