Unix Timestamp Converter

Convert integer Unix seconds/milliseconds to ISO UTC, or an ISO date-time with an explicit offset into a timestamp.

Your input is processed in this browser and is not uploaded.

Unix Timestamp Converter

Convert integer Unix seconds/milliseconds to ISO UTC, or an ISO date-time with an explicit offset into a timestamp.

How to use the tool

  1. Choose the seconds/milliseconds direction.
  2. Enter an integer timestamp or an ISO date-time ending in Z or an explicit offset.
  3. Calculate and check the result’s units.

Example and interpretation

Timestamp 0 seconds becomes 1970-01-01T00:00:00.000Z. The instant 1970-01-01T01:00:00+01:00 also becomes zero seconds.

Limits

Timestamp input must be a safe integer inside the Date range. ISO input must contain a T and UTC offset. Seconds conversion floors milliseconds to a whole second; that mode does not preserve fractional seconds.

Troubleshooting

An unexpected year often means milliseconds were treated as seconds. Keep the UTC offset rather than submitting an ambiguous local time. Use Time Zone Converter to display the resulting instant in a named destination zone.

Frequently asked question

Does output use my local time zone?

No. Timestamp-to-date output is an ISO UTC string ending in Z.

Technical reference

For the underlying timestamp model, see MDN’s JavaScript Date reference.