Convert epoch time to a human-readable date and back, in any time zone. The tool detects seconds, milliseconds, microseconds and nanoseconds automatically and shows the current Unix time live.
A Unix timestamp, also called epoch time, counts the time elapsed since 00:00:00 UTC on 1 January 1970, not counting leap seconds. Because it is a single number that is the same everywhere on Earth, it is widely used in databases, log files, APIs, JWT tokens and file systems. A timestamp has no time zone of its own: the zone only matters when you display it as a calendar date.
| Digits (today) | Unit | Typical source |
|---|---|---|
| 10 | Seconds | Unix tools, PHP time(), Python time.time() |
| 13 | Milliseconds | JavaScript Date.now(), Java |
| 16 | Microseconds | Databases and tracing tools |
| 19 | Nanoseconds | Go, high-resolution logging |
Pick a time zone above and the converter shows the local date and offset for that zone, including daylight saving time rules from your browser's time zone database. When you convert a date back to a timestamp, the date you enter is interpreted in the selected zone, which avoids the classic mistake of treating a local time as if it were UTC.
One practical note: signed 32-bit timestamps run out on 19 January 2038, while the 64-bit values used by modern systems last for hundreds of billions of years.
How do I know if a timestamp is in seconds or milliseconds? Count the digits. Current timestamps have 10 digits in seconds and 13 digits in milliseconds. The Auto-detect option applies this rule for you.
Does a Unix timestamp depend on the time zone? No. It always counts from the epoch in UTC. The time zone only affects how the moment is written as a calendar date and clock time.
What is the Year 2038 problem? Systems that store the timestamp in a signed 32-bit integer overflow on 19 January 2038. Systems using 64-bit integers are not affected.
Are leap seconds included in Unix time? No. Unix time ignores leap seconds, so each day is treated as exactly 86,400 seconds.
Can I enter negative timestamps? Yes. Negative values represent moments before 1 January 1970.