Unix timestamp converter

Seconds since January 1, 1970 (UTC) — live, with conversion in both directions.

Current Unix time

Timestamp → date

Date → timestamp

What is Unix time?

Unix time (also POSIX time or epoch time) counts the seconds since January 1, 1970, 00:00:00 UTC, ignoring leap seconds. It's the standard machine-readable clock across programming languages, databases and APIs — a single number, independent of time zones.

APIs often use milliseconds instead of seconds (13 digits instead of 10); this converter detects that automatically. Fun fact: 32-bit systems that store Unix time as a signed integer overflow on January 19, 2038 — the “Year 2038 problem”.

Frequently asked questions

Seconds or milliseconds — which one do I have?

Classic Unix time is in seconds (currently 10 digits). Many APIs — including JavaScript's Date.now() — use milliseconds (13 digits). This converter detects the format automatically from the number of digits.

Is Unix time the same everywhere in the world?

Yes. It counts seconds since January 1, 1970, 00:00 UTC — one single number worldwide, independent of time zones and daylight saving.

What is the Year 2038 problem?

Systems storing Unix time as a signed 32-bit integer overflow on January 19, 2038. Modern 64-bit systems are not affected.