Unix Timestamp

Use this calculator

A Unix timestamp is a numeric count of elapsed time relative to the Unix epoch: 1970-01-01 00:00:00 UTC. Timestamps identify instants; an ISO date/time string expresses an instant using an explicit calendar, clock and UTC offset.

Mathematical foundation

t_{\mathrm{Unix}}=\frac{t_{\mathrm{UTC}}-t_{\mathrm{epoch}}}{1\,\mathrm{s}}
tₛ = integer timestamp in seconds; t_ms = timestamp in milliseconds. Their factor of 1000 makes unit selection essential. UTC offset in an ISO input specifies how its local clock maps to the same UTC instant.

Mathematical foundation

Choose the conversion direction

Timestamp → Date [Unix timestamp (integer text); Timestamp unit (Seconds or Milliseconds)] Seconds is default; negative and positive timestamps are accepted within DateTime range.

Date → Timestamp [ISO date/time (text)] Requires YYYY-MM-DDTHH:MM:SS with Z or ±HH:MM UTC offset; optional fraction through six digits.

Enter an epoch count or offset-bearing ISO time

Choose Timestamp → Date, enter an integer and explicitly choose Seconds or Milliseconds. Or choose Date → Timestamp and enter an ISO string such as 2026-09-13T12:00:00+05:30. The parser validates the calendar, clock and offset.

Decode the timestamp results

Timestamp → Date returns UTC date/time, interpreted unit and milliseconds. Date → Timestamp returns Unix timestamp (seconds), plus milliseconds and the corresponding UTC date/time. The date parser supports a maximum UTC offset magnitude of 14 hours with the specified minutes restrictions.

Epoch timeline

The value zero corresponds to 1970-01-01T00:00:00Z. Negative timestamps indicate earlier instants; positive values later instants.

The Unix epoch is a UTC reference. Positive and negative integer timestamps position an instant relative to 1970.

The value zero corresponds to 1970-01-01T00:00:00Z. Negative timestamps indicate earlier instants; positive values later instants.

Seconds versus milliseconds

A 13-digit millisecond number is frequently confused with seconds. Selecting the correct unit prevents a thousandfold interpretation error.

Timestamp unit is consequential. A millisecond number is one thousand times the seconds number.

A 13-digit millisecond number is frequently confused with seconds. Selecting the correct unit prevents a thousandfold interpretation error.

Explicit offset example

2026-09-13T12:00:00+05:30 corresponds to 2026-09-13T06:30:00Z; converting to UTC changes the clock display but preserves the instant. The guide example is illustrative, not a live clock.

Offset-bearing ISO date/time. A local offset and its UTC conversion represent the same instant.

2026-09-13T12:00:00+05:30 corresponds to 2026-09-13T06:30:00Z; converting to UTC changes the clock display but preserves the instant. The guide example is illustrative, not a live clock.

Quick answers

What is timestamp zero?

Midnight on 1 January 1970 UTC.

Can I enter milliseconds?

Yes. Choose Milliseconds in Timestamp → Date.

Does the ISO input need an offset?

Yes. Include Z or an explicit ±HH:MM offset, and include seconds.

What happens with an invalid calendar date?

The tool rejects impossible dates rather than normalizing them silently.