Letter | Output | Example |
---|---|---|
%A | full day of week | |
%a | abbrev day of week | |
%B | full month name | |
%b | abbrev month name | |
%C | century (first two digits of year) | |
%c | Day, month, time. year | Thu Mar 17 11:20:10 2011 |
%D | western format with slashes | mm/dd/yy |
%d | day of month (zero-padded) | 02 |
%e | day of month (space-padded) | _2 |