Unix timestamp converter
Convert Unix timestamps to UTC and local time, and convert a local date to a timestamp.
Nothing you type is sent. The work stays in this browser.
How to use it
- The current time is shown from your clock.
- Paste a timestamp and choose seconds or milliseconds. A 13-digit number is flagged as looking like milliseconds, and the choice you made is what gets used.
- The date field is interpreted in your local time zone, then shown as a Unix timestamp and as UTC.
Unix time here is seconds or milliseconds since 1970-01-01 00:00:00 UTC, excluding leap seconds, which is what JavaScript's Date uses.
Local labels use your browser's time zone. UTC labels end in Z.
Invalid dates and out-of-range numbers produce an error instead of a rolled-over date.