Reading timestamp fields from an API
Expand a seconds or milliseconds value into a readable date and copy the ISO 8601 string at the same time.
Guide
The timestamp tool covers four jobs in one page: a live Unix clock, timestamp-to-date conversion, date-to-timestamp conversion and a fixed multi-time-zone readout. Auto mode judges seconds, milliseconds or microseconds from the magnitude of the number and converts everything into JavaScript milliseconds; a date you type in is interpreted in the browser's local time zone.
Updated 2026-09-102 min read
The timestamp tool covers four jobs in one page: a live Unix clock, timestamp-to-date conversion, date-to-timestamp conversion and a fixed multi-time-zone readout. Auto mode judges seconds, milliseconds or microseconds from the magnitude of the number and converts everything into JavaScript milliseconds; a date you type in is interpreted in the browser's local time zone.
datetime-local to work back to Unix seconds and milliseconds.| Input | Output | Notes |
|---|---|---|
1755000000, Auto |
Parsed as seconds | Absolute value <1e11 |
1755000000000, Auto |
Parsed as milliseconds | <1e14 |
-1, Seconds |
A date around 1969-12-31 | Pre-1970 times are supported |
1e11 seconds, below 1e14 milliseconds, everything else microseconds; unusual historical or far-future values near a boundary should be given an explicit unit.8.64e15 is rejected, which is the limit of JavaScript's Date.datetime-local has no time zone field, so it is read in the current browser's local zone; the ISO output is then converted to UTC.Intl.DateTimeFormat and shows “not supported” for an IANA time zone the browser does not carry.Expand a seconds or milliseconds value into a readable date and copy the ISO 8601 string at the same time.
Put the local clock next to UTC and a few common cities to see how the same millisecond value is displayed differently.
It can, especially for very old or far-future timestamps; when a value is ambiguous, pick the unit yourself.
datetime-local is interpreted in this machine's time zone, while the ISO 8601 field is explicitly converted to UTC.
Time values are calculated and formatted locally in the browser and are never sent to a time service.
Updated 2026-09-10
Unix timestamp ↔ date, live current timestamp and multi-time-zone display
Updates live — click to copy
Current local time:2026-09-27 14:53:33 星期日
Detects seconds, milliseconds and microseconds automatically; you can also pick one yourself
No timestamp parsed yet, so the live time is shown in each time zone
| Local(UTC) | Sun, 09/27/2026, 14:53:33 GMT+0 |
| UTC | Sun, 09/27/2026, 14:53:33 GMT+0 |
| New York | Sun, 09/27/2026, 10:53:33 GMT-4 |
| London | Sun, 09/27/2026, 15:53:33 GMT+1 |
| Tokyo | Sun, 09/27/2026, 23:53:33 GMT+9 |