Unix Timestamp Converter

Timestamps to dates in any time zone, and dates to timestamps.

Runs in your browser. Nothing is uploaded.

Updated

Timestamp or dateRuns in your browser

Now: …

A date without an offset (like 2026-11-21 20:49) is read as a time in the chosen zone. 10-digit numbers are seconds, 13 digits milliseconds.

Your text stays on this device. No upload required.

How to use Unix Timestamp Converter

  1. Paste a timestamp or type a date.
  2. Pick the time zone.
  3. Copy the format you need.

Unix Timestamp Converter at a glance

Typical use: Read 1700000000 from a log as a date in your time zone.

Runs in your browser with its time-zone database.

What a Unix timestamp is

A Unix timestamp counts the seconds since 1 January 1970, 00:00 UTC. It is the same everywhere in the world at the same moment, which is why logs, databases and APIs use it. JavaScript, Java and many APIs use milliseconds instead (13 digits); some systems use microseconds or nanoseconds.

The page guesses the unit from the number of digits; choose it yourself if the guess is wrong. Very large nanosecond values are kept exactly.

Time zones and clock changes

A date without an offset, such as 2026-11-21 20:49, is read as a time in the chosen zone, using your browser’s time-zone database. When clocks go forward, a skipped time is moved past the change; when they go back, a time that happens twice uses the first one. The page says so when it happens.

Unix Timestamp Converter example

A log line says 1700000000. Paste it: the page shows 2023-11-14T22:13:20Z in UTC, the same moment in your zone, how long ago it was, and the ISO week. Going the other way, type 2026-11-21 20:49 with Asia/Karachi chosen to get 1795276140.

Prefer the terminal?

The same in a terminal:

date -u -d @1700000000

That is GNU date (Linux); on macOS use date -u -r 1700000000. date +%s prints the current timestamp, and date -d "2026-11-21 20:49" +%s goes the other way.

References

Frequently asked questions

Is the timestamp in seconds or milliseconds?

Count the digits: 10 digits are seconds (until the year 2286), 13 are milliseconds, 16 microseconds and 19 nanoseconds. The page guesses this for you.

What is the year 2038 problem?

Old systems store the timestamp in a signed 32-bit number, which runs out on 19 January 2038 at 03:14:07 UTC (2147483647). Modern systems use 64 bits and are not affected.

Does a Unix timestamp include leap seconds?

No. Unix time treats every day as exactly 86,400 seconds, so leap seconds are not counted; that is why it is easy to convert.

Which time zone is used?

The timestamp itself has no zone. The page shows it in UTC and in the zone you choose, which starts as your device’s zone.