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 calculator

Work through the task

  1. Select the known timestamp unit. Do not rely on digit count to guess whether a source uses seconds or milliseconds.
  2. Convert to UTC first, then choose a supported IANA display zone. This changes the displayed clock, not the instant.
  3. For reverse conversion, enter a date, clock time and zone. Here changing the zone keeps the typed wall clock and can change the instant.
  4. If that clock time repeats, select the first or second occurrence using the displayed offsets. Correct a skipped time yourself.

Checked examples

InputResult
0 seconds1970-01-01T00:00:00Z
-1 millisecond1969-12-31T23:59:59.999Z
1767225600 seconds2026-01-01T00:00:00Z
2026-11-01 01:30, America/New_York05: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

TaskSprig

Applies only in this browser.

Leave this workspace?

Your selected files, entered details and generated output will be cleared. Download your result before leaving, or keep working.

Preview motion effects

This sample follows your Motion choice. Device setting follows this browser’s reduced-motion preference; Smooth effects enables the animations here. Your choice is separate in each browser.

Your workspace

Choose a template

Add your hours

Preview and download