Labels
- The book recommends using
date_labels
argument.
String | Meaning |
---|---|
%S |
second (00-59) |
%M |
minute (00-59) |
%l |
hour, in 12-hour clock (1-12) |
%I |
hour, in 12-hour clock (01-12) |
%p |
am/pm |
%H |
hour, in 24-hour clock (00-23) |
%a |
day of week, abbreviated (Mon-Sun) |
%A |
day of week, full (Monday-Sunday) |
%e |
day of month (1-31) |
%d |
day of month (01-31) |
%m |
month, numeric (01-12) |
%b |
month, abbreviated (Jan-Dec) |
%B |
month, full (January-December) |
%y |
year, without century (00-99) |
%Y |
year, with century (0000-9999) |
- Remember you can include a line break character
\n