⏱️ Unix Timestamp Converter

Auto-detects whether your input is seconds, milliseconds, microseconds, or nanoseconds. Also accepts ISO 8601 dates, "now", and human-readable strings. Shows local time, UTC, and relative time.

📚 How precision is detected

Digits Unit Example Common in
1–10 Seconds 1735689600 Unix, C, Python, classic POSIX
11–13 Milliseconds 1735689600000 JavaScript, Java System.currentTimeMillis
14–16 Microseconds 1735689600000000 PostgreSQL, MySQL TIMESTAMP(6)
17–19 Nanoseconds 1735689600000000000 Go time.UnixNano, Java Instant

❓ FAQ

Is my timestamp in seconds or milliseconds?

Count the digits. 10 = seconds, 13 = milliseconds, 16 = microseconds, 19 = nanoseconds. This page auto-detects.

What is Unix epoch time?

Number of seconds since 00:00:00 UTC, 1 January 1970, ignoring leap seconds. Standard internal representation across Unix, Linux, and most modern systems.

What is the Year 2038 problem?

Signed 32-bit timestamps overflow on 19 Jan 2038. Use 64-bit storage to push the limit out to effectively never (~292 billion years).

Why does my date show one day off?

Timezone difference. A timestamp is a single point in time; the date you see depends on the clock face. This page shows both UTC and your local time.

Is anything sent to a server?

No — pure JavaScript Date API.

🧰 Related developer tools