| Abbreviated weekday name | %a |
| Full weekday name | %A |
| Abbreviated month name | %b |
| Full month name | %B |
| Date and time representation | %c |
| Year divided by 100 and truncated to integer | %C |
| Day of the month, zero-padded (01-31) | %d |
| Short date format (MM/DD/YY) | %D |
| Day of the month, space-padded ( 1-31) | %e |
| Short date format (YYYY-MM-DD) | %F |
| ISO 8601 week-based year (2 digits) | %g |
| ISO 8601 week-based year (4 digits) | %G |
| Abbreviated month name (same as %b) | %h |
| Hour in 24h format (00-23) | %H |
| Hour in 12h format (01-12) | %I |
| Day of the year (001-366) | %j |
| Month as a decimal number (01-12) | %m |
| Minute (00-59) | %M |
| New-line character | %n |
| AM or PM designation | %p |
| 12-hour clock time (hh:mm:ss AM/PM) | %r |
| 24-hour clock time (hh:mm:ss) | %T |
| ISO 8601 weekday as number with Monday as 1 (1-7) | %u |
| Week number with the first Sunday as the first day of week one (00-53) | %U |
| ISO 8601 week number (01-53) | %V |
| Weekday as a decimal number with Sunday as 0 (0-6) | %w |
| Week number with the first Monday as the first day of week one (00-53) | %W |
| Date representation | %x |
| Time representation | %X |
| Year, 4 digits | %Y |
| Year, 2 digits | %y |
| Timezone name or abbreviation | %Z |
| A % sign | %% |