Convert Unix Timestamps and Time Zones
A Unix timestamp describes an instant relative to 1970-01-01 00:00 UTC. The same instant can be written in different units and shown on different local clocks.
Open the calculatorWork through the task
- Select the known timestamp unit. Do not rely on digit count to guess whether a source uses seconds or milliseconds.
- Convert to UTC first, then choose a supported IANA display zone. This changes the displayed clock, not the instant.
- For reverse conversion, enter a date, clock time and zone. Here changing the zone keeps the typed wall clock and can change the instant.
- If that clock time repeats, select the first or second occurrence using the displayed offsets. Correct a skipped time yourself.
Checked examples
| Input | Result |
|---|---|
| 0 seconds | 1970-01-01T00:00:00Z |
| -1 millisecond | 1969-12-31T23:59:59.999Z |
| 1767225600 seconds | 2026-01-01T00:00:00Z |
| 2026-11-01 01:30, America/New_York | 05:30Z or 06:30Z; choose occurrence |
Calculation method
The converter scales strict decimal values to integer nanoseconds and uses Temporal for instant/calendar conversion. Decimal unit output preserves the same nanosecond count. Zone conversion and calendar-date subtraction are different operations.
Assumptions and limits
Unix time here ignores leap seconds and second 60 is rejected. The device supplies current time and the browser supplies time-zone rules. Supported UTC and local years are 0001–9999. No network clock, automatic timestamp detection or URL sharing of entered values is used.
Try these values in the calculator