What makes a timestamp conversion go wrong
Most epoch bugs come from three silent assumptions. The first is the unit: 1700000000 in seconds is 14 November 2023, but read as milliseconds it lands in January 1970. The second is precision: a 19-digit nanosecond value is larger than JavaScript's Number.MAX_SAFE_INTEGER, so JSON.parse and most web converters quietly change the last digits. The third is the time zone: a date written without an offset, such as 2026-11-01 01:30, can mean two different instants in New York.
This converter treats each of these as an explicit decision. It reads digits as text and does the arithmetic with BigInt. It shows which unit it detected and how confident it is, and lists the other units that would also give a plausible date. When a wall-clock time falls in a daylight-saving gap or overlap, it asks you which instant you meant.
How to use it
Type or paste a value into the input. Auto-detect handles Unix numbers, ISO 8601 and RFC 3339, RFC 2822 and HTTP dates, UUID v1/v6/v7, ULID, MongoDB ObjectId and KSUID. To lock the reading, choose a format and a unit. The UTC and time-zone panels sit side by side. Below them is every representation this site can produce, each with its own copy button: Unix seconds through nanoseconds, SQL literals, .NET ticks, Windows FILETIME, Excel serials, GPS time and more.
Use the tabs to build an epoch from calendar fields, compare time zones, do date arithmetic, convert thousands of rows at once, or copy ready-made code in fourteen languages.
Questions
- What is epoch time?
- Epoch time (Unix time) counts the seconds elapsed since 1970-01-01T00:00:00 UTC, not counting leap seconds. Many systems store the same count in milliseconds, microseconds or nanoseconds.
- Is my data uploaded?
- No. Parsing and conversion run in JavaScript in your browser. The site makes no network request with the values you enter. Settings and opt-in history are stored in this browser only.
- Why does the result show a confidence level?
- A bare number does not say what unit it is in. The converter infers the unit from the digit count and checks whether the resulting date is plausible. It marks low-confidence readings so you can lock the correct unit.
- How far back or forward can it convert?
- UTC output is exact for years -999,999,999 to +999,999,999 in the proleptic Gregorian calendar. Time-zone output relies on the browser's Intl data, which is limited to the JavaScript Date range (years -271821 to 275760).