Key takeaways
- 01A Unix timestamp counts the seconds elapsed since 00:00:00 UTC on 1 January 1970, called the epoch.
- 02A 10-digit number is usually seconds; a 13-digit number is usually milliseconds — divide by 1000 to convert.
- 03Unix time is always UTC, so the same timestamp shows different clock times in different time zones.
The definition, in one sentence
A Unix timestamp is the number of seconds that have passed since 00:00:00 Coordinated Universal Time (UTC) on 1 January 1970. That starting instant is called the Unix epoch, and every timestamp is measured forward from it. As you read this, the current value is somewhere north of 1.7 billion.
The reason computers agreed on one arbitrary date is efficiency. A single integer is far easier to store, compare, and do math on than a string like "June 24, 2026, 3:14 PM in Central European Summer Time." Sorting events, measuring how long something took, or checking whether one thing happened before another all reduce to comparing two whole numbers.
Because the count is anchored to UTC, a Unix timestamp has no time zone baked in. The same number, 1750000000, is one instant in time everywhere on Earth — it just displays as a different wall-clock time in Tokyo than in New York. Time zones are applied only when the number is turned back into a human-readable date.
Seconds vs. milliseconds: how to tell them apart
The classic Unix timestamp is measured in seconds, but a lot of modern software — JavaScript in particular — measures in milliseconds, which is 1000 times larger. Mixing the two is the single most common timestamp bug, and it produces dates that are either in 1970 or roughly 50,000 years in the future.
The quickest way to tell them apart is digit count. A seconds timestamp for any recent date has 10 digits (1750000000). The millisecond version of the same instant has 13 digits (1750000000000). If a value looks 1000x too big, it is almost certainly milliseconds — divide by 1000 to get seconds. If a library expects milliseconds and you hand it seconds, multiply by 1000.
A few systems go finer still: microseconds (16 digits) and nanoseconds (19 digits) show up in high-resolution logging and databases. The rule is the same — each step is another factor of 1000. When in doubt, paste the number into a converter and see whether the resulting date is anywhere near today.
How to convert a Unix timestamp to a date
You do not need to do the math by hand. Paste the number and read the date in your own time zone and in UTC.
- 01
Open the Unix timestamp converter
Go to Handytool's Unix timestamp converter. Everything runs in your browser, so nothing is sent to a server.
- 02
Paste the number
Drop in the timestamp. The tool auto-detects whether it is seconds or milliseconds based on its length, so you rarely have to specify.
- 03
Read the human date
See the date and time rendered both in UTC and in your local time zone, so you can confirm you are reading the instant you expect.
- 04
Go the other way
Enter a calendar date and time to get the matching Unix timestamp for storing in a database, an API call, or a scheduled job.
Why 1970, and other quirks
The epoch was chosen in the early 1970s by the engineers building Unix at Bell Labs. It needed to be a recent, round, convenient date, and the start of 1970 fit — it was close enough that the counter would not immediately need huge numbers, and far enough back to cover the file and process times they cared about. Negative timestamps represent moments before 1970, so the scheme handles historical dates too.
One subtlety: Unix time ignores leap seconds. Real UTC occasionally inserts an extra second to stay aligned with the Earth's slightly irregular rotation, but Unix time pretends every day has exactly 86,400 seconds. This keeps the arithmetic simple at the cost of being a fraction of a minute off from strict astronomical time — a tradeoff almost everyone is happy to make.
When you need to line up a timestamp with a Discord event, a cron schedule, or a countdown, it helps to pair the converter with a time-zone tool so you can see the same instant across the regions your audience lives in.
Unix timestamp FAQ
Is a Unix timestamp in seconds or milliseconds?
It depends on the system. Traditional Unix time is seconds (a 10-digit number for current dates); JavaScript and many web APIs use milliseconds (13 digits). Divide by 1000 to go from milliseconds to seconds, or multiply by 1000 for the reverse.
Does a Unix timestamp include a time zone?
No. Unix time is always counted in UTC and carries no zone. A zone is only applied when you convert the number into a readable date, which is why the same timestamp shows different clock times around the world.
What is the current Unix timestamp?
It changes every second. As of mid-2026 it is roughly 1.75 billion. Open the converter to see the live value and to turn any specific date into its timestamp.
What is epoch time?
"Epoch time" is another name for Unix time. The epoch is the fixed origin — 1 January 1970 at 00:00:00 UTC — and epoch time is the number of seconds counted from it.
Can a Unix timestamp be negative?
Yes. Dates before 1 January 1970 are represented as negative numbers, counting seconds backward from the epoch.