The results update as you type. A 13-digit value switches to milliseconds.
The results update when you change a field.
What is a Unix timestamp?
A Unix timestamp (epoch time) is the number of seconds since 1 January 1970, 00:00:00 UTC. Databases, APIs and log files use it because one number is the same in every timezone and is easy to sort. You convert it to read a date in a log or an API response, or to write a date into code.
How to convert a Unix timestamp
- Type or paste a timestamp in Timestamp → Date. A 13-digit value switches to milliseconds.
- Or pick a date, a time and a timezone in Date → Timestamp.
- Read the 9 formats under Results: Unix in seconds and milliseconds, UTC, ISO 8601, local time, date, time, day of week and relative time.
- Click 📋 next to a row to copy it, or Copy All for all of them.
- Click Use Now for the current timestamp.
Seconds or milliseconds?
Count the digits. A timestamp of today in seconds has 10 digits (for example 1740000000). In milliseconds it has 13 (1740000000000). Most backends, Unix tools and PHP use seconds. JavaScript Date.now() and Java use milliseconds. If a converted date lands in 1970 or in the year 50000, you used the wrong unit.
Frequently Asked Questions
What is the difference between seconds and milliseconds?
Both count from 1970-01-01 UTC. Most languages and APIs use seconds (10 digits today). JavaScript Date.now() and many JSON APIs use milliseconds (13 digits). The converter switches to milliseconds when the value has more than 12 digits.
Why is my local time different from UTC?
It is the same moment in time. Local time adds the timezone offset of your device. The Unix timestamp is the same in both.
Can I convert dates before 1970?
Yes. Dates before 1970-01-01 have negative timestamps. Enter for example -86400 to get 1969-12-31.
What is ISO 8601?
The international format for dates and times, for example 2026-05-21T14:30:00.000Z. The Z at the end means UTC. JavaScript toISOString() and most APIs use it.
Does this tool send my timestamps to a server?
No. The conversion runs in your browser with the JavaScript Date functions.