Convert Epoch time to human dates
A Unix timestamp, also called epoch time or POSIX time, is the number of seconds since midnight UTC on 1 January 1970, not counting leap seconds. 0 is that moment, 86400 is exactly one day later, and negative numbers are dates before 1970.
A timestamp has no time zone. 1700000000 is the same instant everywhere on Earth: 14 November 2023 at 22:13:20 UTC. Only the way it's displayed changes from place to place, which is why the tool shows your local time and UTC side by side.
Most databases, Unix tools and APIs use seconds, which today is a 10-digit number. JavaScript's Date.now(), Java and many logging tools use milliseconds, which is 13 digits. Reading a millisecond value as seconds lands you tens of thousands of years in the future, and that's the usual sign the two have been mixed up.
This converter decides by length: up to 11 digits are treated as seconds, anything longer as milliseconds. The line under the input box tells you which one it used.
Older systems store the timestamp as a signed 32-bit integer, which can't go past 2147483647. That's 03:14:07 UTC on 19 January 2038. One second later the number wraps round to a negative value, and those systems think it's December 1901. Most modern software uses 64-bit time and isn't affected, but the limit still lurks in old embedded devices and some legacy databases. Paste 2147483647 above to see the exact moment.
Click Now. In code it's Math.floor(Date.now() / 1000) in JavaScript, time.time() in Python, or date +%s in a Unix shell.
Usually a seconds value was treated as milliseconds somewhere, which divides it by 1,000. In this tool that only happens with very small numbers; in your own code, check whether the function expects seconds or milliseconds.
The local time uses your device's time zone, including its daylight saving rules. UTC and ISO 8601 are shown too, and those never change with location.
No. Every day is treated as exactly 86,400 seconds, which is what keeps the conversion simple arithmetic.
OneClickly is a set of 119 free tools for PDFs, images, text, everyday math and code. They run in your browser, so the files and text you work with stay on your device.