Converters
Date Format Converter
Reformat a date into ISO, US, EU, RFC and Unix formats.
Free foreverRuns in your browserNo sign-up
Accepts ISO dates, common locale strings and Unix timestamps. Local formats use your device time zone; ISO 8601 is shown in UTC. Custom patterns use date-fns tokens like yyyy, MM, dd, HH and mm.
| ISO 8601 (UTC) | 2024-01-31T14:30:00.000Z | |
| ISO date | 2024-01-31 | |
| US (MM/DD/YYYY) | 01/31/2024 | |
| EU (DD/MM/YYYY) | 31/01/2024 | |
| Long | Wednesday, 31 January 2024 | |
| RFC 2822 | Wed, 31 Jan 2024 14:30:00 +0000 | |
| Time (24-hour) | 14:30:00 | |
| Time (12-hour) | 02:30:00 PM | |
| Day of week | Wednesday | |
| Unix seconds | 1706711400 | |
| Unix milliseconds | 1706711400000 |
About the Date Format Converter
Enter a date, a common date string or a Unix timestamp, and see it in every common format at once.
Get ISO 8601, US and EU dates, a long form, RFC 2822, 12 and 24 hour times, the day of week and Unix seconds and milliseconds.
A custom pattern field lets you build any format using date-fns tokens.
Key features
- ISO, US, EU, long, RFC 2822 and Unix forms
- Accepts date strings and Unix timestamps
- Custom pattern using date-fns tokens
- Copy any format instantly
How to use
- 1Enter a date, date string or Unix timestamp.
- 2Optionally add a custom pattern like yyyy/MM/dd.
- 3Copy the format you need in one click.
Examples
ISO to US and Unix
Input:
2024-01-31Output:
01/31/2024, 1706659200One date is shown in US format and as a Unix timestamp.
Unix timestamp to date
Input:
1706659200Output:
2024-01-31 (ISO)A Unix timestamp is read back into a calendar date.
Frequently asked questions
- What input does it accept?
- ISO dates like 2024-01-31, common strings like 01/31/2024 2:30 PM, and Unix timestamps in seconds or milliseconds.
- Which time zone is used?
- Local formats use your device time zone, while ISO 8601 is shown in UTC for a clear reference.
- What tokens does the custom pattern use?
- It uses date-fns tokens, such as yyyy for year, MM for month, dd for day, HH for hours and mm for minutes.
