Known format : 'A' = 'Wednesday' ( A full textual representation of the day )
Known format : 'B' = 'June' ( Full month name, based on the locale )
Known format : 'C' = '20' ( Two digit representation of the century (year divided by 100, truncated to an integer) )
Known format : 'D' = '06/10/26' ( Same as "%m/%d/%y" )
Known format : 'E' = '%E' ( )
Known format : 'F' = '2026-06-10' ( Same as "%Y-%m-%d" )
Known format : 'G' = '2026' ( The full four-digit version of %g )
Known format : 'H' = '08' ( Two digit representation of the hour in 24-hour format )
Known format : 'I' = '08' ( Two digit representation of the hour in 12-hour format )
Known format : 'J' = '%J' ( )
Known format : 'K' = '%K' ( )
Known format : 'L' = '%L' ( )
Known format : 'M' = '04' ( Two digit representation of the minute )
Known format : 'N' = '%N' ( )
Known format : 'O' = '%O' ( )
Known format : 'P' = 'am' ( lower-case "am" or "pm" based on the given time )
Known format : 'Q' = '%Q' ( )
Known format : 'R' = '08:04' ( Same as "%H:%M" )
Known format : 'S' = '28' ( Two digit representation of the second )
Known format : 'T' = '08:04:28' ( Same as "%H:%M:%S" )
Known format : 'U' = '23' ( Week number of the given year, starting with the first Sunday as the first week )
Known format : 'V' = '24' ( ISO-8601:1988 week number of the given year, starting with the first week of the year with at least 4 weekdays, with Monday being the start of the week )
Known format : 'W' = '23' ( A numeric representation of the week of the year, starting with the first Monday as the first week )
Known format : 'X' = '08:04:28' ( Preferred time representation based on locale, without the date )
Known format : 'Y' = '2026' ( Four digit representation for the year )
Known format : 'Z' = 'CDT' ( The time zone offset/abbreviation option NOT given by %z (depends on operating system) )
Known format : 'a' = 'Wed' ( An abbreviated textual representation of the day )
Known format : 'b' = 'Jun' ( Abbreviated month name, based on the locale )
Known format : 'c' = 'Wed Jun 10 08:04:28 2026' ( Preferred date and time stamp based on local )
Known format : 'd' = '10' ( Two-digit day of the month (with leading zeros) )
Known format : 'e' = '10' ( Day of the month, with a space preceding single digits )
Known format : 'f' = '%f' ( )
Known format : 'g' = '26' ( Two digit representation of the year going by ISO-8601:1988 standards (see %V) )
Known format : 'h' = 'Jun' ( Abbreviated month name, based on the locale (an alias of %b) )
Known format : 'i' = '%i' ( )
Known format : 'j' = '161' ( Day of the year, 3 digits with leading zeros )
Known format : 'k' = ' 8' ( Hour in 24-hour format, with a space preceding single digits )
Known format : 'l' = ' 8' ( Hour in 12-hour format, with a space preceding single digits )
Known format : 'm' = '06' ( Two digit representation of the month )
Known format : 'n' = ' ' ( A newline character ("\n") )
Known format : 'o' = '%o' ( )
Known format : 'p' = 'AM' ( UPPER-CASE "AM" or "PM" based on the given time )
Known format : 'q' = '%q' ( )
Known format : 'r' = '08:04:28 AM' ( Same as "%I:%M:%S %p" )
Known format : 's' = '1781096668' ( Unix Epoch Time timestamp )
Known format : 't' = ' ' ( A Tab character ("\t") )
Known format : 'u' = '3' ( ISO-8601 numeric representation of the day of the week )
Known format : 'v' = '%v' ( )
Known format : 'w' = '3' ( Numeric representation of the day of the week )
Known format : 'x' = '06/10/26' ( Preferred date representation based on locale, without the time )
Known format : 'y' = '26' ( Two digit representation of the year )
Known format : 'z' = '-0500' ( Either the time zone offset from UTC or the abbreviation (depends on operating system) )
Known format : '%' = '%' ( A literal percentage character ("%") )