Convert Unix epoch values at any precision, with hex output and a year-2038 overflow check.
Ctrl + Enter to run
Unix time counts seconds from 1970-01-01 UTC, which makes it a single number that is unambiguous across time zones and easy to compare and sort. That is why logs, databases and APIs store it in preference to formatted dates.
The value to watch is the unit. JavaScript's `Date.now()` and most JVM APIs return milliseconds, while the Unix convention and most command-line tools use seconds. Passing one where the other is expected produces a date that is either just after 1970 or thousands of years away.