Developer

Timestamp Converter

Turn a Unix timestamp into a readable date in any time zone, or a date back into a timestamp.

Date to timestamp

Nothing is sent anywhere. Dates are worked out with your browser’s own time zone data. The tool never looks anything up online.

How to use it

  1. Paste a Unix timestamp, or press Now to use the current time.
  2. Pick a time zone to see that moment as a date and time there.
  3. To go the other way, type a date and time in the box at the bottom and read the timestamp.

What a Unix timestamp is

A Unix timestamp counts the seconds since 1 January 1970 at 00:00:00 UTC, which is called the epoch. It does not depend on any time zone, so it is a good way to store a moment. JavaScript and many APIs use milliseconds instead, which gives a number 1,000 times bigger.

Seconds or milliseconds?

A current timestamp in seconds has 10 digits (for example 1700000000). In milliseconds it has 13. When you leave the unit on automatic, a number of up to 11 digits is read as seconds and anything longer as milliseconds. If you work with dates close to 1970, choose the unit yourself.

Daylight saving time

The date-to-timestamp box handles daylight saving using your browser’s time zone rules. A time that does not exist (the hour skipped when clocks jump forward) or happens twice (when they fall back) is resolved to a single moment, so check those two nights by hand if it matters.

The year 2038

Systems that store the timestamp in a signed 32-bit number run out at 19 January 2038 at 03:14:07 UTC, which is the timestamp 2147483647. Newer systems use 64 bits and do not have this limit.

Tested, not guessed

Every number below comes from running this tool, not from a guess.

Example

The timestamp 1700000000 in three places:

1700000000

UTC: 2023-11-14T22:13:20Z

Jakarta: 2023-11-15T05:13:20+07:00
New York: 2023-11-14T17:13:20-05:00
The last moment a signed 32-bit timestamp can hold, 2147483647, is 2038-01-19T03:14:07Z.

Limits

  • Handles dates a browser can show, about 271,000 years either side of 1970.
  • Dates are read as written in the time zone you choose. Dates before 1970 work, and are shown with a negative timestamp.

Frequently asked questions

Why is my result a day off?

Almost always a time zone difference. The same timestamp is a different calendar date in different places. Check the time zone box.

Does it handle negative timestamps?

Yes. A negative number is a moment before 1970. For example -1 is 23:59:59 UTC on 31 December 1969.

Which time zones are available?

All the zones your browser knows about, shown with their official names such as Asia/Jakarta or America/New_York.

Is anything sent to a server?

No. Everything happens in your browser.

Scroll to Top