Unix Timestamp Converter

Convert Unix epoch timestamps (seconds or milliseconds) to dates and back.

Why use this tool?

Convert Unix timestamps (seconds or milliseconds since 1970) into readable dates in your time zone and UTC, and convert dates back to timestamps.

How to use it

  1. Paste a timestamp, or click Use Current Time.
  2. Read the local, UTC and ISO dates.
  3. Or pick a date to get its timestamp.

What a Unix timestamp is

A Unix timestamp counts the seconds that have passed since 1 January 1970 at 00:00:00 UTC, known as the Unix epoch. It's how most systems, databases and APIs store moments in time, because a single number is easy to compare and doesn't depend on time zones.

JavaScript and many web APIs count in milliseconds instead. The converter treats values longer than 10 digits as milliseconds and shorter ones as seconds: 1760000000 is a date in October 2025, and 1760000000000 is the same moment in milliseconds.

Time zones and formats

A timestamp has no time zone; it marks one instant everywhere. The tool shows that instant in your local time zone, in UTC and in ISO 8601 format (2025-10-09T08:53:20.000Z), where the Z means UTC. ISO 8601 is the safest format to exchange between systems because it's unambiguous, unlike 10/09/2025, which means different dates in the US and Europe.

To go the other way, pick a date and time and the tool gives the matching timestamp. Use Use Current Time to get the timestamp for now, handy for test data and log searches.

Common bugs

Dates in January 1970 almost always mean a seconds value was treated as milliseconds; dates tens of thousands of years in the future mean the opposite. Check which unit the API documentation uses.

Systems that store timestamps as signed 32-bit integers overflow on 19 January 2038 at 03:14:07 UTC (the "Year 2038 problem"). Modern systems use 64-bit values, but old databases and embedded devices may still be affected. Leap seconds are ignored by Unix time, which is why every Unix day is exactly 86,400 seconds.

Frequently asked questions

Seconds or milliseconds: how can I tell?

Current timestamps in seconds have 10 digits; in milliseconds they have 13. The converter detects this automatically.

Why does my converted date show 1970?

A seconds-based timestamp was interpreted as milliseconds (or a value was 0). Multiply seconds by 1,000 when passing them to JavaScript's Date.

Does a timestamp depend on my time zone?

No. It's the same number worldwide; only the way it's displayed changes.