How to use this tool
Choose timestamp-to-date or date-to-timestamp and select seconds or milliseconds as appropriate. For readable dates choose UTC or your browser’s local timezone, or provide an explicit ISO offset. Inspect UTC, local and ISO output, copy the result or reset. The current timestamp comes from your device clock.
How it works
Unix time counts from 1970-01-01T00:00:00Z. One second equals 1,000 milliseconds. Strict calendar validation avoids browser-dependent natural-language date parsing. Explicit offsets identify an instant; offset-free local dates are checked for daylight-saving gaps and overlaps.
A QUICK EXAMPLE
Put it into practice.
0 seconds is 1970-01-01T00:00:00.000Z. 1,000 milliseconds is one second after the epoch. Negative timestamps describe instants before 1970.
Good to know
Date calculations use the browser’s timezone rules and the JavaScript Date range, with millisecond precision. Offset-free local times that do not exist or are ambiguous around a DST transition must be resolved with an explicit offset. Unix time does not represent leap seconds. The device clock is not an authoritative external time source.
Common questions
Why do seconds and milliseconds have different lengths?
Milliseconds count 1,000 units for every second. Select the unit explicitly rather than guessing from digit count; negative and early dates do not follow a fixed digit-length rule.