Unix Timestamp Converter & Epoch Calculator
Convert a Unix timestamp to a date, or a date to a timestamp, in your browser. The unit is read from the number's magnitude — seconds, milliseconds, microseconds or nanoseconds — and the result is shown in any IANA time zone, as ISO 8601, RFC 2822 and a relative reading. Nothing is uploaded.
Unix time is the number of seconds since 1 January 1970 UTC, and it turns up in a log line, a JWT, a database column and an API response, in four different units depending on who wrote the system. Getting that unit wrong is the classic bug: a millisecond timestamp read as seconds lands 50,000 years out, and a second timestamp read as milliseconds lands in 1970.
So the unit here comes from the magnitude of the number rather than from its length, and the status line always says which one it chose. 1718294400.5 is seconds with a fraction — Python's time.time() — not the millisecond value its twelve characters would suggest. Microseconds and nanoseconds have their own entries, because Go, Java and Postgres all emit them.
Going the other way, the tool will not quietly fix a date you did not type. 31 February converts, and says it rolled to 3 March. A year of 50 is the year 50. The zone is any of the ~400 IANA zones the browser already knows, so the same instant can be read in Asia/Kolkata and America/New_York without applying an offset by hand.