How to use the Unix timestamp converter
The two counters at the top tick once a second and show the present moment as Unix seconds and milliseconds; press Copy on either to paste it into a script or a test fixture. To decode a value you already have, type it into the timestamp box. The tool looks at the number of digits and labels it as seconds, milliseconds, microseconds or nanoseconds, and you can override that guess from the unit menu when a log format is unusual. The result appears as an ISO 8601 string in UTC, in RFC 2822 form for email and HTTP headers, in your browser's own zone, and in any of the zones from the list, together with the weekday and how long ago (or how far ahead) that instant is.
To go the other way, pick a date and time in the lower section and choose the zone that wall-clock time belongs to. A build server in Frankfurt writing "2024-07-01 12:00" means something different from a phone in Tokyo writing the same digits, and the zone menu settles which one you mean. On a spring-forward night, a time that never happened (02:30 in New York on 10 March 2024, for example) is moved to the next valid minute and flagged, and a time that happens twice in autumn is noted so you can pick the earlier or later instant deliberately.
Why timestamps go wrong and how the converter helps
Unix time is the number of seconds since midnight UTC on 1 January 1970. It is compact, sorts correctly and has no time zone, which is why databases, cookies, JWTs and most APIs use it. The classic mistake is mixing scales: JavaScript's Date.now() counts milliseconds, while Python, PHP and MySQL count seconds. Feed a 13-digit millisecond value into a function expecting seconds and the date lands somewhere around the year 55,800; do the reverse and everything collapses into the first three weeks of January 1970. Seeing the detected unit next to the input catches that before it reaches production.
The second source of confusion is the zone in which a value was created. A timestamp itself is unambiguous, but the moment a human types a date into a form, the server has to decide whether "9 am" meant London or Los Angeles, and the two differ by eight hours, or by seven for a few weeks each spring and autumn. Showing the same instant in UTC, in your local zone and in a chosen zone side by side makes an eight-hour discrepancy obvious rather than mysterious. Everything runs in the browser and nothing you type is sent anywhere.