How do I convert a date to ISO 8601 or Unix timestamp format?
Type a date in any format - the tool auto-detects it and shows it in 10 popular formats at once: ISO 8601, RFC 2822, Unix timestamp (seconds and milliseconds), SQL DATETIME, locale format, human-readable ("3 hours ago").
Click any result - it copies to clipboard. Perfect for developers working with multiple systems where each expects a different date format.
How to use it
- Type a date in the field - the tool accepts almost any format (e.g. "2024-01-15", "Jan 15, 2024 10:30", "1700000000").
- Below you see the recognized date in ten different formats.
- Click any result to copy to clipboard.
- If the format wasn't recognized - check that the date is valid, or try ISO 8601 (the most universal format).
When this is useful
Situations when a date needs to change format:
- Programming - integrating different APIs - one API returns a timestamp, another ISO, a third RFC 2822. Convert everything to the format you need.
- SQL and databases - "DATETIME format for MySQL" needs "2024-01-15 10:30:00", but your app has a timestamp. Convert in a second.
- Server logs - sometimes UTC ISO, sometimes epoch, sometimes RFC. All formats supported.
- CSV / Excel exports - different apps require different formats. See what each format looks like here.
- API documentation - what does the ISO 8601 standard look like for January 1, 2025? Type "2025-01-01" and see.
- Reading other people's logs - "what does 1705276800 mean?". Unix timestamp to a readable date.
To convert just a Unix timestamp, use our dedicated Unix timestamp converter. To calculate the difference between two dates, see date difference.