How to use the Unix Timestamp Converter tool
- Paste a timestamp to see the date. Seconds and milliseconds are detected automatically.
- Or pick a date and time to get the timestamp.
- Tick “UTC” if the date you entered is in UTC rather than your local time.
What is a Unix timestamp?
Unix time counts the seconds that have passed since 1 January 1970, 00:00:00 UTC, known as the Unix epoch. It is the same number everywhere in the world, which makes it the standard way computers store and compare dates in databases, APIs, logs and file systems.
JavaScript, Java and many APIs use milliseconds instead of seconds, which gives a 13-digit number instead of a 10-digit one. The converter recognizes both.
The year 2038 problem
Old systems that store Unix time as a signed 32-bit integer will overflow on 19 January 2038 at 03:14:07 UTC, when the counter reaches 2,147,483,647. Modern systems use 64-bit values that will not run out for billions of years, but legacy devices and databases still need to be checked.
Privacy
Everything you type stays in your browser. Nothing is sent to a server or stored.
Frequently asked questions
Is Unix time affected by time zones?
No. A timestamp always refers to UTC. Only its display in local time depends on your time zone.
How do I know if a timestamp is in seconds or milliseconds?
Current timestamps in seconds have 10 digits; in milliseconds they have 13.
Does Unix time include leap seconds?
No. Unix time ignores leap seconds; every day has exactly 86,400 seconds.
Can timestamps be negative?
Yes. Negative values are dates before 1970.