Unix Timestamp

Convert between Unix timestamps and human-readable dates.

–
utc –
local –

no history yet

FAQ

What is a Unix timestamp?

A Unix timestamp (epoch time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It is widely used in programming to represent points in time.

Seconds vs milliseconds — how do I tell them apart?

A 10-digit number is almost certainly seconds (covers years up to ~2286). A 13-digit number is almost certainly milliseconds. JavaScript's Date.now() returns milliseconds; most Unix utilities use seconds.

What is the year 2038 problem?

Systems that store Unix timestamps as a signed 32-bit integer will overflow on 19 January 2038. Modern systems use 64-bit integers, which will not overflow for billions of years.