⌕
Developer · free online tool

Unix Timestamp Converter.

Convert Unix time and UTC dates.

Your workspace◈ Processed on your device
Your result
Your result will appear here.

A little context.

Unix timestamps count seconds since 1970-01-01T00:00:00Z. Date input must include Z or an explicit UTC offset. Leap seconds are not represented.

Comparing logs across time zones

Use seconds for timestamp input. For date input, include Z for UTC or an explicit offset. Two strings with different offsets can represent the same instant; the output normalizes that instant to UTC.

Interpreting the result and avoiding mistakes

Some APIs report milliseconds, which are one thousand times seconds. Check the API contract before pasting a value. Calendar dates without a time zone are deliberately rejected rather than interpreted using the computer local settings.

A reproducible workspace example

These are the starting values in the form above. The result below is calculated from these values when the page is built, using the same processing engine as the tool.

Direction
Timestamp to date
Timestamp (seconds) or ISO 8601 with timezone
1704067200

Calculated output

2024-01-01T00:00:00.000Z

Quick reference

1704067200 = 2024-01-01T00:00:00.000Z

How to use this tool

  1. Enter direction, timestamp (seconds) or iso 8601 with timezone in the workspace above.
  2. Select Run tool to process your input. Invalid values produce a message next to the form.
  3. Copy the result or download it as a file. Reset example restores the original input.

Keep a good thing going.

A few related tools for your next step.