Skip to content
Categories
Date Format Converter
Convert a date and time to ISO 8601, RFC 2822, a custom format, and more.
Overview
- Converts a date and time into ISO 8601, RFC 2822, Unix seconds, Unix milliseconds, and an optional custom format, all at once.
- Useful when different systems require different date formats — such as logging, API integration, or UI display — letting you check multiple formats from a single input.
- The custom format is specified using the tokens YYYY, MM, DD, HH, mm, and ss, and is interpreted based on UTC.
Usage
- Enter a date and time (e.g. ISO 8601).
- Optionally specify a custom format using tokens (YYYY, MM, DD, HH, mm, ss).
- Click the "Convert" button to see the results in ISO 8601, RFC 2822, Unix seconds, Unix milliseconds, and your custom format.
Example
Input
2024-01-01T00:00:00Z (custom format: YYYY-MM-DD HH:mm:ss)
Output
ISO 8601: 2024-01-01T00:00:00.000Z RFC 2822: Mon, 01 Jan 2024 00:00:00 GMT Unix (seconds): 1704067200 Custom: 2024-01-01 00:00:00
Use Cases
- Checking a specific date and time in multiple formats at once, such as ISO 8601 for logging, RFC 2822 for email headers, and a Unix timestamp for database storage
- Specifying a custom format to match your own date display format (e.g. YYYY-MM-DD)
- Parsing a date string received from another system and converting it into a format that is easier to handle in your own system
FAQ
Are custom format tokens interpreted in UTC or local time?
They are interpreted in UTC, so the result does not depend on the timezone of your browser or device.
Which tokens are supported?
YYYY (year), MM (month), DD (day), HH (hour), mm (minute), and ss (second) are supported.
Is the date and time I enter sent anywhere?
No. All conversion happens entirely in your browser.
Notes
- Custom format tokens are interpreted based on UTC. If you need local-timezone display, use this together with Timezone Converter.
- Only the six tokens YYYY, MM, DD, HH, mm, and ss are supported. Weekday names or timezone notation are not supported.
- The conversion result exists only on the page and is lost on reload, so copy any value you need right away.
Related Tools
Convert a date and time to a different timezone.
Generate a cron expression by specifying minute, hour, day, month, and weekday.
Convert a cron expression into a human-readable description.