Unix timestamp converter
Epoch seconds or milliseconds to a readable date in any time zone, and back again.
Current Unix time: …
Timestamp to date
Enter a whole number of seconds, milliseconds or microseconds.
Date to timestamp
Interpreted in UTC (Etc/UTC).
Questions
What is a Unix timestamp?
The number of seconds since 00:00:00 UTC on 1 January 1970 (the Unix epoch), ignoring leap seconds. It is the same number everywhere on Earth at a given instant; only its display depends on the time zone.
Seconds or milliseconds?
Unix tools and most APIs use seconds (10 digits for current dates). JavaScript’s Date.now() and many databases use milliseconds (13 digits). This converter detects which one you pasted.
What is the year 2038 problem?
Systems that store the timestamp as a signed 32-bit integer overflow at 2,147,483,647 seconds, which is 03:14:07 UTC on 19 January 2038. Modern systems use 64-bit values.