Seconds, milliseconds, and the same instant
Unix time counts elapsed time from 1970-01-01T00:00:00Z. Traditional Unix timestamps count seconds. JavaScript's Date constructor and many web APIs count milliseconds, which makes their current values roughly one thousand times larger.
Example: timestamp zero
0 represents the Unix epoch: 1 January 1970 at 00:00:00 UTC. In New York it was still 31 December 1969 because the local offset was behind UTC. The timestamp did not change; only its human-readable representation did.
Negative and future values
Negative timestamps represent instants before the epoch. Values beyond January 2038 also work in modern JavaScript engines, although older 32-bit systems may not store them safely. Fractional input is accepted and rounded to the date precision available in the browser.
Format questions
Is ISO 8601 the same as RFC 3339?
RFC 3339 defines a practical Internet timestamp profile based on ISO 8601. The UTC output produced here, such as 2026-09-28T12:00:00.000Z, is suitable for common JSON and API use.
Why did my local time not exist?
Some regions move clocks forward for daylight saving time, skipping a block of wall-clock values. The tool rejects such a value instead of silently choosing another instant.