Convert Unix timestamps in seconds, milliseconds or microseconds to a readable date and back, in any time zone. Pick a date, choose a format, or jump to now. Both directions update instantly, daylight saving time is applied for the selected zone, and everything runs in your browser.
Unix time (also called epoch time or POSIX time) is the number of seconds since 00:00:00 UTC on January 1, 1970, not counting leap seconds. Because it is a single number with no time zone, it is how most operating systems, databases and APIs store moments in time. Many languages use other units: JavaScript's Date.now() returns milliseconds, and some databases and Python's datetime work with microseconds.
This converter turns a timestamp into a date and time in the time zone you choose, and turns a date back into a timestamp.
Tokyo), country or dialing code. Switching zones keeps the same moment and shows its local time there.| Unix time | Unit | Date (UTC) |
|---|---|---|
0 | Seconds | 1970-01-01 00:00:00 |
1700000000 | Seconds | 2023-11-14 22:13:20 |
1700000000000 | Milliseconds | 2023-11-14 22:13:20 |
2147483647 | Seconds | 2038-01-19 03:14:07 |
-86400 | Seconds | 1969-12-31 00:00:00 |
| Token | Meaning | Example |
|---|---|---|
YYYY MM DD | Year, month, day | 2026 10 03 |
HH / hh A | 24-hour / 12-hour hour with AM/PM | 21 / 09 PM |
mm ss SSS | Minutes, seconds, milliseconds | 05 09 123 |
Z or XXX | UTC offset of the selected zone | +09:00 |
[T] or 'T' | Literal text | T |
Changing the format only changes how the same moment is written; it never changes the timestamp.
Count the digits. A present-day timestamp has 10 digits in seconds, 13 in milliseconds and 16 in microseconds. If the date comes out in 1970 or tens of thousands of years in the future, the unit is probably wrong.
No. The same moment has the same Unix time everywhere. The time zone only affects how the date and time are displayed, which is why changing Timezone leaves Unix time unchanged.
Systems that store Unix time as a signed 32-bit integer can only count up to 2147483647, which is 2038-01-19 03:14:07 UTC. After that the value overflows. Systems that use 64-bit integers are not affected.
No. Unix time treats every day as exactly 86,400 seconds, so leap seconds are not counted.