A log contains a timestamp, but no readable date. Before converting it, find out which unit the producer uses. Unix timestamps count time from 1970-01-01T00:00:00Z; seconds and milliseconds describe the same epoch at different scales.
Choose the unit from the source
Check the field’s documentation or the code that produced the value. JavaScript’s Date.now() returns milliseconds. Other systems often use seconds. Digit count can be a clue for a recent date, but it is not a reliable rule for older or far-future instants. The bench asks for a unit instead of guessing.
| Input | Unit | UTC result |
|---|---|---|
| 1791883440 | Seconds | 2026-10-13T09:24:00.000Z |
| 1791883440000 | Milliseconds | 2026-10-13T09:24:00.000Z |
Both rows represent one instant. If a plausible recent timestamp produces a date near 1970, revisit the unit. Changing the input-unit selector reinterprets the number you entered; it does not rewrite the number.
Choose UTC for a portable reference
The UTC result uses ISO 8601. Its final Z means UTC. The local view uses your browser’s timezone and labels it. Two people can see different local clock times for the same instant, so use the UTC value when comparing logs across machines.
To convert a date back to Unix time, choose Date → Unix and include a timezone. These two inputs produce the same result:
2026-10-13T09:24:00Z
2026-10-13T05:24:00-04:00
An offset tells the converter how to locate the instant. It does not identify a geographic timezone or predict daylight-saving rules. A date without Z or an explicit offset is rejected so the result cannot depend silently on the computer you are using.
Know which precision is kept
The normalized base is a signed count of whole milliseconds. Seconds accept up to three decimal places, such as 1791883440.125. Milliseconds accept whole numbers only. The UTC, seconds, and milliseconds outputs all come from that same exact count; extra digits are rejected rather than rounded.
Negative values describe instants before the epoch. For example, -0.001 seconds becomes 1969-12-31T23:59:59.999Z and -1 millisecond. The range is limited to the browser Date range: ±8,640,000,000,000,000 milliseconds.
If a date is rejected
Check the calendar as well as the spelling. February 30 is rejected rather than rolled into March. Clock values use hours 00–23 and seconds 00–59; leap seconds are not supported. The converter also rejects non-finite values, numeric exponents, and milliseconds with a fractional part. Keep the original input visible, correct the issue, and compare all the outputs together.