%a locale abbreviated weekday name [Sun..Sat] 'Fri' 3 %A locale weekday name [Sunday..Saturday] 'Friday' 6 %b locale abbreviated month name [Jan..Dec] 'Nov' 3 %B locale month name [January..December] 'November' 8 %c locale date time '2023 Nov 10 Fri 22:52:46' 24 %C century [-99...] '20' 2 %d day in month, zero-padded [01..31] '10' 2 %D US date [%m/%d/%y] '11/10/23' 8 %e day in month, blank-padded [ 1..31] '10' 2 %E locale alternate era [ignored] '' 0 %f invalid format character ? '' 0 %F ISO 8601 date year-month-day [%Y-%m-%d] '2023-11-10' 10 %g ISO 8601 week based year in century [00..99] '23' 2 %G ISO 8601 week based year with century [-9999...] '2023' 4 %h locale abbreviated month name [Jan..Dec] 'Nov' 3 %H hour, 24-hour clock [00..23] '22' 2 %i year in century [00..99] '' 0 %I hour, 12-hour clock [01..12] '10' 2 %j day in year [001..366] '314' 3 %J invalid format character ? '' 0 %k hour, 24-hour clock, blank pad [ 0..23] '22' 2 %K invalid format character ? '' 0 %l hour, 12-hour clock, blank pad [ 0..12] '10' 2 %L invalid format character ? '' 0 %m month [01..12] '11' 2 %M minute [00..59] '52' 2 %n newline ' ' 1 %N nanoseconds [0-999999999] '' 0 %N locale extension Emperor/Era Name '' 0 %o locale extension Emperor/Era Year '' 0 %O locale alternate digits [ignored] '' 0 %p locale 12-hour clock AM/PM 'PM' 2 %P locale 12-hour clock lowercase am/pm 'pm' 2 %q quarter year [1..4] '4' 1 %Q invalid format character ? '' 0 %r time, 12-hour [%I:%M:%S] '10:52:46' 8 %R ISO 8601 time, 24-hour [%H:%M] '22:52' 5 %s seconds since the epoch -...0... '1699681966' 10 %S second [00..60] '46' 2 %t tab ' ' 1 %T ISO 8601 time, 24-hour [%H:%M:%S] '22:52:46' 8 %u ISO 8601 day of week [1..7, Monday == 1] '5' 1 %U week in year, starting first Sunday [00..53] '45' 2 %v BSD/OSX/Ruby VMS/Oracle date [%e-%b-%Y] '10-Nov-2023' 11 %V ISO 8601 week in week based year [01..53] '45' 2 %w day of week [0..6, Sunday == 0] '5' 1 %W week in year, starting first Monday [00..53] '45' 2 %x locale date representation '2023-11-10' 10 %X locale time representation [%H:%M:%S] '22:52:46' 8 %y year in century [00..99] '23' 2 %Y year with century [-9999...] '2023' 4 %z timezone offset east of GMT [-2300..+2300] '-0700' 5 %Z timezone abbreviation, blank if undetermined [XXX] 'MST' 3 %+ default locale date format [%a %b %e %T %Z %Y] '' 0 % no format character ? '' 0