| d | Day of the month, 2 digits with leading zeros | 27 |
| D | A textual representation of a day, three letters | Fri |
| j | Day of the month without leading zeros | 27 |
| l | A full textual representation of the day of the week | Friday |
| N | ISO-8601 numeric representation of the day of the week - 1 (for Monday) through 7 (for Sunday) | 5 |
| S | English ordinal suffix for the day of the month, 2 characters | th |
| w | Numeric representation of the day of the week - 0 (for Sunday) through 6 (for Saturday) | 5 |
| z | The day of the year (starting from 0) | 57 |
| W | ISO-8601 week number of year, weeks starting on Monday | 09 |
| F | A full textual representation of a month, such as January or March | February |
| m | Numeric representation of a month, with leading zeros - 01 through 12 | 02 |
| M | A short textual representation of a month, three letters | Feb |
| n | Numeric representation of a month, without leading zeros | 2 |
| t | Number of days in the given month | 28 |
| L | Whether it's a leap year | 0 |
| o | ISO-8601 year number - if the ISO week number (W) belongs to the previous or next year, that year is used instead | 2026 |
| Y | A full numeric representation of a year, 4 digits | 2026 |
| y | A two digit representation of a year | 26 |
| a | Lowercase Ante meridiem and Post meridiem | am |
| A | Uppercase Ante meridiem and Post meridiem | AM |
| B | Swatch Internet time | 166 |
| g | 12-hour format of an hour without leading zeros | 2 |
| G | 24-hour format of an hour without leading zeros | 2 |
| h | 12-hour format of an hour with leading zeros | 02 |
| H | 24-hour format of an hour with leading zeros | 02 |
| i | Minutes with leading zeros | 59 |
| s | Seconds, with leading zeros | 53 |
| u | Microseconds | 000000 |
| e | Timezone identifier | UTC |
| I | Whether or not the date is in daylight saving time 1 if Daylight Saving Time, 0 otherwise. | 0 |
| O | Difference to Greenwich time (GMT) in hours | +0000 |
| P | Difference to Greenwich time (GMT) with colon between hours and minutes | +00:00 |
| T | Timezone abbreviation | UTC |
| Z | Timezone offset in seconds. The offset for timezones west of UTC is always negative, and for those east of UTC is always positive. | 0 |
| c | ISO 8601 date | 2026-02-27T02:59:53+00:00 |
| r | RFC 2822 formatted date | Fri, 27 Feb 2026 02:59:53 +0000 |
| U | Seconds since the Unix Epoch (January 1 1970 00:00:00 GMT) | 1772161193 |
| j M Y | Short date format | 27 Feb 2026 |
| Y-m-d | SQL date format | 2026-02-27 |