Date format converters
21 formats. A year can be extracted from a complete date; a year alone cannot supply a month or day. Start from a pair below or from a format's reference page.
Named-format conversions
From MM/DD/YYYY
From ISO 8601
From ISO 8601 (local)
From SQL datetime
From MM/DD/YYYY 24h
From DD.MM.YYYY 24h
From Unix ms
From Unix timestamp
From M/D/YYYY 12h
All formats
- M/D/YYYY — US short date (M/D/YYYY)6/9/2024
- MM/DD/YYYY — US date (MM/DD/YYYY)06/09/2024
- YYYY — Year only (YYYY)2024
- ISO 8601 — ISO 8601 UTC with milliseconds2024-06-29T00:00:00.000Z
- ISO 8601 (local) — ISO 8601 local date-time (no offset)2024-06-29T00:00:00
- ISO 8601 (local, ms) — ISO 8601 local date-time with milliseconds (no offset)2024-06-29T00:00:00.500
- SQL datetime — SQL datetime (YYYY-MM-DD HH:mm:ss)2022-06-29 13:45:31
- M/D/YYYY 24h — US short date with 24-hour time6/29/2024 00:00:00
- MM/DD/YYYY 24h — US date-time (MM/DD/YYYY HH:mm:ss)06/29/2024 00:00:00
- M/D/YYYY - 24h — US date, dash, 24-hour time8/26/2023 - 13:33:05
- DD.MM.YYYY 24h — European date-time (DD.MM.YYYY, HH:mm:ss)15.05.2024, 21:11:29
- YYYY.MM.DD 24h — Dotted year-first date-time (YYYY.MM.DD HH:mm:ss)2021.02.05 19:15:47
- Unix ms — Unix timestamp in milliseconds1719619200000
- Unix timestamp — Unix timestamp in seconds1719619200
- HH:mm MM/DD/YYYY — Time-first US date (HH:mm MM/DD/YYYY)10:27 07/01/2025
- YYYY-MM-DD 12h — Year-first date with 12-hour time2024-06-29 2:30:00 PM
- M/D/YYYY 12h — US date with 12-hour time (M/D/YYYY h:mm:ss A)6/29/2024 2:30:00 PM
- M/D/YYYY h:mm A — US date with 12-hour time, no seconds6/29/2024 2:30 PM
- Mon DD, YYYY 12h — Abbreviated month date-time (Oct 29, 2024, 12:00:00 AM)Oct 29, 2024, 12:00:00 AM
- Mon D YYYY h:mm A — Abbreviated month date-time, no secondsApr 1 2024, 8:59 AM
- Long date — Long date (December 13, 2023 at 12:24:03 PM)December 13, 2023 at 12:24:03 PM