Unix timestamp ⇄ date converter

Convert a Unix timestamp (in seconds or milliseconds) to a readable date in UTC and your local time, and convert any date to its Unix timestamp. Includes the current Unix time live. Everything happens in your browser.

Current Unix time

Timestamp → date

UTC
Local time

Date → timestamp

Seconds
Milliseconds

How to convert a Unix timestamp

  1. For timestamp → date: type the number and choose seconds or milliseconds.
  2. You will see the date in UTC and your local time instantly.
  3. For date → timestamp: pick a date and time.
  4. Copy the timestamp in seconds or milliseconds with its button.

Frequently asked questions

What is a Unix timestamp?

It is the number of seconds elapsed since January 1, 1970 at 00:00:00 UTC (the “epoch”), not counting leap seconds. It is a compact, universal way to represent a moment in time.

Seconds or milliseconds?

The classic Unix timestamp is in seconds (10 digits today). Many languages such as JavaScript use milliseconds (13 digits). Pick the right unit with the toggle.

Why do local time and UTC differ?

UTC is the worldwide reference; your local time is UTC plus or minus your time zone offset. We show both to avoid confusion.

Does it account for my time zone?

Yes. The local time uses the time zone configured on your device. The Unix timestamp, on the other hand, does not depend on the zone: it is the same instant everywhere.

Is it processed on a server?

No. All conversion happens in your browser, using your own device’s date and time zone.