Convert date and time between ISO, UTC, Unix timestamps, and calendar metadata locally.
Loading tool
About Date-Time Converter
Enter a Unix timestamp, ISO 8601 date, RFC 2822 date, other date string or the word now, and the format is detected automatically. Timestamps in seconds, milliseconds and microseconds are recognized by their magnitude. The output shows ISO 8601 in UTC and your local offset, RFC 2822, the UTC string, Unix seconds and milliseconds, plus day of week, day of year, ISO week, quarter, leap year and relative time.
Common uses
- Convert an epoch timestamp from a log or database to a readable date
- Get the current Unix timestamp in seconds or milliseconds
- Convert an ISO 8601 date to RFC 2822 for an HTTP or email header
- Find the ISO week number or day of year for a date
FAQ
- What is a Unix timestamp?
- It is the number of seconds elapsed since 1970-01-01 00:00:00 UTC (the Unix epoch), not counting leap seconds. JavaScript's Date.now() returns the same value in milliseconds.
- How do I tell seconds from milliseconds?
- Current timestamps in seconds have 10 digits, while milliseconds have 13. This tool treats values of 1e11 or more as milliseconds and 1e14 or more as microseconds.
- Which time zone is used?
- Unix timestamps and the ISO UTC output are time zone independent. The local values use your browser's time zone, which is shown next to the result.
- What is the year 2038 problem?
- Systems that store Unix time as a signed 32-bit integer overflow after 03:14:07 UTC on 19 January 2038. 64-bit timestamps do not have this limit.