Convert a Unix timestamp

Turn seconds or milliseconds since 1970 into a date, or a date into a timestamp, with UTC, local time and a relative reading.

Convert a Unix timestamp

0 characters

Three steps — nothing to install

  1. Type a timestamp or a date

    1764374400, 1764374400000, or 2026-11-29T10:00:00Z.

  2. Read every form

    Seconds, milliseconds, ISO 8601, UTC, local time and how far it is from now.

  3. Copy the value

    The result is a text block you can paste into a ticket or a test.

Seconds or milliseconds

Unix time counts from 1970-01-01T00:00:00 UTC, and the classic form is seconds. JavaScript and many APIs use milliseconds instead, which is why the same moment can appear as 1764374400 or 1764374400000. This tool reads ten digits as seconds and thirteen as milliseconds; a number with eleven or twelve digits is ambiguous, so it is read as seconds and the result says which assumption was made.

If a conversion looks wildly wrong — a date in 1970 or in the year 50000 — the unit is almost always the reason. Divide or multiply by 1000 and try again.

Why 1970, and why UTC

The epoch is a convention: a single agreed starting point makes timestamps comparable across systems without storing a time zone. A timestamp is therefore an instant, not a local time. Two people in different zones reading 1764374400 see different clock times on the wall and the same moment in time.

Unix time ignores leap seconds. Every day is treated as exactly 86,400 seconds, so the count drifts by about a second every year or two from UTC. For logs and databases that does not matter; for astronomy it does.

Time zones and daylight saving

The local reading is produced by the browser using the device's zone and daylight-saving rules, including historical changes. A timestamp that falls in a skipped hour during a spring-forward transition still converts — it just shows a local time that never appeared on a clock.

For anything stored or exchanged, store UTC and convert for display. A local timestamp without a zone is ambiguous twice a year, and that ambiguity causes real scheduling bugs. The cron parser explains the same problem for scheduled jobs.

Frequently asked questions

How do I tell seconds from milliseconds?Ten digits is seconds, thirteen is milliseconds. Eleven or twelve digit numbers are read as seconds and the result says so.
Can timestamps be negative?Yes, for dates before 1970. They are handled as ordinary numbers.
Is the local time my time zone?Yes, using this device's zone and its daylight-saving rules.
What is ISO 8601?The standard date format 2026-11-29T10:00:00.000Z. The Z means UTC.
Is anything uploaded?No. The conversion uses the browser's Date object in this tab.
What is the year 2038 problem?Systems storing seconds in a signed 32-bit integer overflow in January 2038. JavaScript uses doubles, so this page is not affected.