Unix Timestamp & Epoch Time Converter
Convert Unix timestamps (sec/ms/ns) to ISO-8601, UTC, and local wall time instantaneously.
How Unix Epoch Converter Works & Calculation Reference
Converts Unix epoch timestamps (auto-detecting seconds, milliseconds, microseconds, and nanoseconds) into UTC ISO-8601, RFC-2822, and local human-readable dates.
Accuracy & Formula
Unix time counts elapsed seconds since 1970-01-01T00:00:00Z (excluding leap seconds). Values ≥ 1e11 are auto-detected as milliseconds.
Worked Example
Timestamp 1700000000 equals 2023-11-14T22:13:20.000Z in UTC and 1,700,000,000,000 in milliseconds.
Seconds vs. Milliseconds, Microseconds & Nanoseconds
Different runtimes emit epoch timestamps at different scales: POSIX C/Python/JWT exp claims use 10-digit seconds (~1.7e9), JavaScript Date.now() and Java Instant use 13-digit milliseconds (~1.7e12), database logs often use 16-digit microseconds, and Go/Kubernetes nanosecond clocks emit 19-digit values. Auto-Detect handles all four seamlessly.
The Year 2038 (Y2K38) 32-Bit Signed Overflow
Legacy systems storing Unix seconds in a signed 32-bit integer overflow at 2,147,483,647 seconds—corresponding to 03:14:07 UTC on January 19, 2038. Modern 64-bit timestamps extend safely for hundreds of billions of years.
Unix Timestamp Magnitude & Historical Milestone Cheat Sheet
Quick visual guide to digit counts and landmark Unix timestamps in UTC.
| Timestamp / Digits | Scale / Significance | UTC Date & Time (ISO-8601) |
|---|---|---|
| 0 (1 digit) | Unix Epoch Origin | 1970-01-01T00:00:00.000Z |
| 1,000,000,000 (10 digits) | 1 Billion Seconds | 2001-09-09T01:46:40.000Z |
| 1,700,000,000 (10 digits) | Modern Epoch Seconds | 2023-11-14T22:13:20.000Z |
| 1,700,000,000,000 (13 digits) | JavaScript Milliseconds | 2023-11-14T22:13:20.000Z |
| 2,000,000,000 (10 digits) | 2 Billion Seconds | 2033-05-18T03:33:20.000Z |
| 2,147,483,647 (10 digits) | 32-bit Max (Y2K38 Overflow) | 2038-01-19T03:14:07.000Z |
Unix Epoch Converter — Frequently Asked Questions
How does the tool distinguish seconds from milliseconds?
In Auto-Detect mode, magnitudes above 10^11 are interpreted as milliseconds, above 10^14 as microseconds, and above 10^17 as nanoseconds—or you can lock the unit explicitly.
Does Unix timestamp depend on my local time zone?
No. Unix epoch seconds are always anchored to UTC; only the formatted display shifts to match your chosen local time zone.
Are leap seconds included in Unix timestamps?
By POSIX definition, every Unix day equals exactly 86,400 seconds and leap seconds are not counted separately.