Skip to content
kitify
Esc
↑ ↓ to moveEnter to open

Unix timestamp converter

Paste an epoch time to see the real date in your time zone and UTC, or turn a date into a timestamp. Seconds or milliseconds are detected for you.

What is a Unix timestamp?

It's the number of seconds since 00:00:00 UTC on 1 January 1970, ignoring leap seconds. Because it's just a number with no time zone, it's how most databases, APIs and log files store time.

Seconds or milliseconds?

Digits todayUnitCommon in
10SecondsUnix, PHP, Python time.time(), JWT
13MillisecondsJavaScript Date.now(), Java
16MicrosecondsPostgreSQL, Go
19NanosecondsGo UnixNano, InfluxDB

The year 2038 problem

Systems that store timestamps as a signed 32-bit number run out at 2,147,483,647, which is 03:14:07 UTC on 19 January 2038. After that they wrap to 1901. Modern systems use 64-bit numbers, which last for billions of years.

Questions people ask

How do I convert a timestamp to a date?

Paste it into Timestamp to date. You'll see the date in your own time zone, in UTC and as ISO 8601, plus how long ago or how far ahead it is.

How do I get the current Unix time?

It's shown live at the top and updates every second. Copy it in seconds or milliseconds.

Why is my date in 1970?

You probably treated milliseconds as seconds, or the other way round. This tool detects the unit from the number of digits.

Do timestamps have a time zone?

No. A timestamp is the same everywhere; only the way it's displayed changes. That's why you see both your local time and UTC.