About the Epoch/Unix Timestamp Converter
Convert Unix timestamps — the seconds (or milliseconds) since 1 January 1970 UTC — into human-readable dates, or turn any date into a timestamp. A live clock shows the current epoch time, handy when debugging logs, APIs and databases.
Frequently Asked Questions
How do I convert a Unix timestamp to a date?
Paste the timestamp; the date appears in your local time and UTC.
How do I convert a date to a Unix timestamp?
Enter the date and time to get the epoch value.
What is epoch time?
The number of seconds since 00:00:00 UTC on 1 January 1970.
Is my timestamp in seconds or milliseconds?
10 digits are seconds, 13 digits are milliseconds (JavaScript uses milliseconds).
What is the current Unix timestamp?
It’s shown live at the top of the tool.
What is the Year 2038 problem?
Signed 32-bit timestamps overflow on 19 January 2038; modern systems use 64-bit values.
How do I get the timestamp in JavaScript?
Math.floor(Date.now() / 1000) for seconds.
How do I get it in Python?
import time; int(time.time()).
Does Unix time include time zones?
No, it’s always UTC; time zones apply only when displaying it.
Is the Epoch/Unix Timestamp Converter free to use?
Yes.