localdatetime Open local time

Unix Timestamp Converter

The live epoch, plus conversion between any timestamp and a readable date.

The Unix epoch counts seconds since 1 January 1970 UTC. It is the least ambiguous way to record an instant, because it carries no time zone, no format and no locale. This page shows the live epoch and converts any timestamp you paste in — auto-detecting whether you have given seconds or milliseconds.

Seconds or milliseconds?

Unix tools and databases usually use seconds; JavaScript and most modern APIs use milliseconds. A ten-digit number is almost certainly seconds and a thirteen-digit number milliseconds, which is the rule this converter applies. Get it wrong and you land in 1970 or in the year 50,000 — the classic epoch bug, covered in Unix epoch time explained.

The 2038 boundary

A signed 32-bit counter of seconds overflows on 19 January 2038. Most modern systems have moved to 64-bit values, but embedded devices and old file formats have not, which is what makes the Year 2038 problem a real migration rather than a curiosity.

Guides about Epoch Converter

More localdatetime.now pages

Frequently asked questions

What is the current Unix timestamp?
It is shown live above in both seconds and milliseconds, counting from 1 January 1970 UTC.
Does the epoch include leap seconds?
No. Unix time deliberately ignores them, treating every day as exactly 86,400 seconds, which is why it does not perfectly track atomic time.
Can a timestamp be negative?
Yes. Negative values represent instants before 1970, and most modern date libraries handle them correctly.