Convert between UNIX epoch timestamps and human-readable dates instantly with this free online timestamp converter. Paste any UNIX timestamp in seconds or milliseconds and get the full date breakdown in UTC, local time, ISO 8601 format, relative time, and day of the week. You can also convert any date string back to a UNIX timestamp. A live clock displays the current epoch time updating every second. Auto-detects whether your input is in seconds (10 digits) or milliseconds (13 digits). All processing runs entirely in your browser — no data is sent anywhere. Works offline, no signup required.
Math.floor(Date.now() / 1000), Python uses int(time.time()), PHP uses time(), and Go uses time.Now().Unix(). On Linux/macOS terminal: date +%s.
Date.now() returns milliseconds). This tool auto-detects the unit: any input over 10 digits is treated as milliseconds. To convert manually, divide by 1000 to get seconds.
2147483647, which equals January 19, 2038 at 03:14:07 UTC. After that, the value overflows to a large negative number. Modern 64-bit systems don't have this problem — they can store timestamps far beyond the year 292 billion. Most modern software uses 64-bit timestamps.