Convert Unix timestamps to human-readable dates and dates back to epoch time. Supports seconds and milliseconds, shown in UTC and your local timezone.
A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970 (the Unix epoch). It is a single integer that uniquely identifies any point in time and is widely used in databases, APIs and log files.
The current Unix timestamp is displayed at the top of this page and updates every second. You can also run Math.floor(Date.now() / 1000) in your browser console, or time() in PHP.
Paste the Unix timestamp into the Timestamp input — the result appears instantly showing the date and time in UTC and your local timezone.
Unix timestamps are traditionally in seconds (10 digits). JavaScript's Date.now() returns milliseconds (13 digits). This tool accepts both — it automatically detects milliseconds when the input is 13 or more digits.
On 32-bit systems the maximum signed 32-bit Unix timestamp is 2147483647, which corresponds to 19 January 2038 at 03:14:07 UTC — known as the Year 2038 problem. 64-bit systems extend this far into the future.
Math.floor(Date.now() / 1000)import time; int(time.time())time()Instant.now().getEpochSecond()time.Now().Unix()UNIX_TIMESTAMP()EXTRACT(EPOCH FROM NOW())