Unix Timestamp Converter
Convert between Unix timestamps and human-readable dates in any time zone.
Timestamp → date
Paste a timestamp or a date; everything updates as you type.
- ISO 8601 (UTC)
—- Local time
—- In selected zone
—- Day of week
—- Relative
—
Date → timestamp
- Seconds
—- Milliseconds
—- ISO 8601 (UTC)
—
How it works
A Unix timestamp counts the seconds since 1 January 1970 00:00:00 UTC, ignoring leap seconds. It has no time zone of its own, which is why the same number appears as different wall-clock times in Taipei and New York. This page reads whatever you paste, decides from its size whether it is seconds, milliseconds, microseconds or nanoseconds (ten digits are seconds, thirteen are milliseconds), and prints the instant as ISO 8601, in your local zone and in any IANA zone you choose, with the weekday and a relative description. The reverse direction resolves a wall-clock time in a zone to the exact instant, including daylight-saving shifts.
Common questions
- Seconds or milliseconds? Linux, PHP and most databases use seconds; JavaScript, Java and many APIs use milliseconds, so 13 digits almost always mean milliseconds. Use the Unit selector to override the guess.
- What is the year 2038 problem? Systems storing the timestamp as a signed 32-bit integer cannot pass 2,147,483,647 seconds, which is 19 January 2038 03:14:07 UTC. The tool flags values beyond that so you can confirm your storage uses 64-bit integers.
- Why does a date-only string like 2024-01-01 show midnight UTC? Per the ECMAScript standard, a date with no time is treated as UTC, while a date with a time but no zone is treated as local time. Add Z or an offset to be explicit.
- Negative timestamps are valid and represent dates before 1970.
Privacy
All conversions run in your browser with the built-in Intl APIs. Nothing is sent to a server.