Unix timestamp converter

Timestamp to date and date to timestamp – with the current Unix time live.

–Current Unix time (seconds)
–Milliseconds

Timestamp → date

Detected as
Local time ()
UTC
ISO 8601
Relative

Date → timestamp

Seconds
Milliseconds
ISO 8601

100% private: everything is processed locally in your browser. Your data never leaves your device.

How to use

  1. Enter a timestamp – seconds, milliseconds, micro- or nanoseconds are detected automatically.
  2. Read the date in local time, UTC, ISO 8601 and as relative time.
  3. For the other direction, pick a date and time and copy the timestamp.

What is a Unix timestamp?

A Unix timestamp counts the seconds since January 1, 1970, 00:00 UTC (the “Unix epoch”). It is independent of time zones and is used in databases, APIs, log files and programming languages.

JavaScript and Java usually use milliseconds (13 digits), Unix systems and PHP use seconds (10 digits). Systems with 32-bit timestamps overflow on January 19, 2038 (the year 2038 problem).

Frequently asked questions

How do I tell seconds from milliseconds?

Current timestamps in seconds have 10 digits, in milliseconds 13 digits. The tool detects this automatically.

Does a timestamp include a time zone?

No, it is always based on UTC. It's only converted to your local time zone for display.

What is the year 2038 problem?

A signed 32-bit timestamp can store at most 2,147,483,647 – that's 2038-01-19 03:14:07 UTC. After that the value overflows.