Unix Timestamp Converter

Convert epoch timestamps to dates and back. We auto-detect whether you typed seconds, milliseconds, microseconds, or nanoseconds.

Right now
—
Auto-detects: 10 digits = sec, 13 = ms, 16 = Ξs, 19 = ns
Interpreted in your local timezone.
What is Unix time?

The short version

Unix time (also called "epoch time" or "POSIX time") is the number of seconds that have elapsed since 1970-01-01 00:00:00 UTC. It's the timezone-free, language-agnostic way computers represent a moment in time. Most APIs, log files, databases, and JWTs use it.

Common units

  • Seconds (10 digits): 1700000000 — the classic Unix timestamp.
  • Milliseconds (13 digits): 1700000000000 — what JavaScript's Date.now() returns.
  • Microseconds (16 digits): 1700000000000000 — common in databases like PostgreSQL.
  • Nanoseconds (19 digits): 1700000000000000000 — Go's time.UnixNano(), Kubernetes events.

The year 2038 problem

32-bit signed integers can only count up to 2,147,483,647 — which as Unix seconds is 2038-01-19 03:14:07 UTC. Systems still using 32-bit time will wrap around to a negative number after that. Modern systems use 64-bit, which is good for ~292 billion years.