Time by City

🕓 Unix Timestamp Converter

Epoch ↔ human-readable date, in both directions. Seconds and milliseconds auto-detected.

Current Unix time

--

Timestamp → date

Date → timestamp

What is Unix time?

Unix time is the number of seconds elapsed since 00:00:00 UTC on 1 January 1970 — the "Unix epoch". It is the way most computers, databases and APIs store points in time, because a single integer is unambiguous across every time zone. JavaScript and many logging systems use milliseconds instead of seconds, which is why timestamps come in 10-digit and 13-digit flavours; this tool detects which one you pasted.

Why does my timestamp convert to a strange date?

The usual cause is a unit mismatch — a milliseconds value read as seconds lands thousands of years in the future, and the reverse lands in 1970. Check the digit count: current times are 10 digits in seconds and 13 in milliseconds.

What is the year 2038 problem?

Systems that store Unix time in a signed 32-bit integer overflow on 19 January 2038. Modern 64-bit systems are unaffected, but the date remains a famous edge case worth testing against.