Timestamp converter
Turn Unix timestamps into readable dates and back: seconds or milliseconds, in your time zone and UTC, plus every format developers need.
A Unix timestamp is simply the number of seconds since midnight UTC on 1 January 1970. No time zones, no months, no leap-year rules, which is why computers love it.
“2026-09-21” is midnight UTC to JavaScript, but “2026-09-21T14:13” is in your local time zone. “09/10/2026” is September in the US and October in the UK. Below, one string goes through your browser's own parser and five format rules, each checked by this page: the ECMAScript date format, ISO 8601 (including week and ordinal dates), RFC 3339, the HTTP and email date formats, and slash dates.
Unix time never jumps, but local time does. Pick a zone and a year. Your browser's copy of the IANA time zone database is scanned hour by hour and narrowed to the exact minute each offset changes. It then shows the hour that is skipped, the hour that repeats, and why adding 86,400 seconds is not the same as adding a day.
new Date(1790000000) → Wed 21 Jan 1970buildMultiply seconds by 1000 in JavaScript, and check for empty values.fromtimestamp(1790000000000) → year 58,691buildDivide by 1000, or check for 13 digits before converting.14:13 UTC shown to a user in Istanbul (+03:00)buildStore in UTC, convert to the viewer’s time zone only when displaying.2026-09-21T00:30+03:00 = 2026-09-20 21:30 UTCbuildCompare full timestamps, not just the date part, across zones.Math.floor(Date.now() / 1000)Date.now()new Date(ts * 1000).toISOString()Unix time is only one of many epoch-based clocks. Each row converts the instant in the converter at the top of the page, 2026-09-21T14:13:20.000Z, using exact whole-number arithmetic for the 64-bit tick counts.
For the questions a timestamp doesn't answer directly.