timestamp → date

Turn a timestamp into a date

Paste an epoch value. You get UTC, your local time, any timezone you pick, ISO 8601, RFC 2822 and a relative description — with the unit called out so nothing is ambiguous.

ready

Runs locally in your browser.

[example]

1700000000

2023-11-14 22:13:20 UTC — 15 November 2023, 03:43 in Asia/Kolkata.

[example]

0

1970-01-01 00:00:00 UTC, the Unix epoch itself.

[example]

-1

1969-12-31 23:59:59 UTC. Negative values are valid Unix time.

how it works

From count to calendar

A timestamp is an instant measured from 1970-01-01T00:00:00 UTC. Converting to a date means dividing that count down to days, then mapping those days onto the Gregorian calendar. That part is pure arithmetic and identical everywhere.

Timezones are the messy part. A named zone is not a fixed offset: it is a set of historical rules, including daylight-saving transitions that can skip an hour in spring or repeat one in autumn. The browser’s Intl data supplies those rules, so the offset shown here is the offset that was actually in effect at that instant, not a guess.

The result panel also shows ISO 8601 and RFC 2822 forms because they are what you usually need to paste into code, headers or database queries.

advertisement