Timestamp Converter

Convert Unix timestamps to dates and back

Convert Unix timestamps (seconds or milliseconds) into readable dates in any time zone, or a date into a timestamp - with ISO 8601, HTTP date, week number, day of year and Excel serial date.
Try an example:

Output will appear here...

About Timestamp Converter

How it works

  1. A number is read as a Unix timestamp: seconds since 1 January 1970 UTC. Values of 100 billion or more are treated as milliseconds.
  2. Text is read as a date (ISO 8601 like 2024-05-01T14:30:00Z works best). Leave the box empty for the current time.
  3. The moment is shown in many formats: Unix seconds and milliseconds, ISO 8601, HTTP date, your chosen time zone, relative time, week number and Excel serial date.

What you need

  • A Unix timestamp, a date/time, or nothing (for now).

Tips

  • 10-digit timestamps are seconds (most Unix tools); 13-digit ones are milliseconds (JavaScript, Java).
  • Dates without a time zone (2024-05-01 14:30) are read in your local time zone; add "Z" for UTC.

Limitations

  • Leap seconds are not counted, as in all Unix timestamps.

Runs in your browser. Everything happens in your browser - your code and data are never uploaded.

Frequently asked questions

What is a Unix timestamp?+

The number of seconds since 00:00:00 UTC on 1 January 1970 (the "Unix epoch"). It is time-zone independent, which makes it ideal for storing moments in databases and APIs.

What is the Year 2038 problem?+

Systems storing timestamps as 32-bit signed integers overflow on 19 January 2038. Modern systems use 64-bit values, which last for billions of years.