This tool converts between Unix timestamps and human-readable dates. It shows the current Unix time as it ticks, in seconds and milliseconds, and each value can be copied.
Paste a timestamp to see it as a UTC date, as a date in your own time zone, as ISO 8601, as RFC 2822 and as relative time such as 3 hours ago. Seconds, milliseconds, microseconds and nanoseconds are detected automatically.
To go the other way, enter a date and a time, pick local time, UTC or any IANA time zone, and read off the timestamp in seconds and milliseconds.
Everything is calculated in your browser, so nothing is uploaded.
It is the number of seconds since 1 January 1970 at 00:00:00 UTC, known as the Unix epoch. Because it ignores time zones and daylight saving, it names one exact moment the same way everywhere, which is why logs, databases and APIs use it.
It counts the digits. Up to 11 digits is read as seconds, 12 to 14 as milliseconds, 15 to 17 as microseconds and 18 to 20 as nanoseconds. A current timestamp is 10 digits in seconds and 13 in milliseconds. If a very old date is guessed wrong, pick the unit yourself with the Unit control.
Yes. A negative value is a moment before 1970, so -86400 is 31 December 1969. Dates run up to about the year 275760 in either direction, which is the limit of a browser Date. Anything beyond that is reported as out of range instead of showing a wrong date.
Type the date and time, then choose Local time, UTC or any IANA zone such as America/New_York or Asia/Tokyo. The result is the timestamp for that wall-clock time in that zone, including its daylight saving rules. If the time falls in the hour skipped or repeated when clocks change, the tool says so.
Unix and most databases count seconds, while JavaScript, Java and many web APIs count milliseconds, which is 1000 times bigger. Mixing them up is a common bug that puts dates in 1970 or in the year 50000, so the converter shows the detected unit every time.
No. The conversion runs in your browser with the built-in Date and Intl features, and nothing you type is sent or stored.