Tools

Current Unix Timestamp

The current epoch time in seconds and milliseconds, live

Unix time now (seconds)
–
Milliseconds
–
ISO 8601 (UTC)
–
Timestamp → date
Date → timestamp

What is the Unix time right now?

The cards at the top of this page show the current Unix timestamp in seconds and in milliseconds, plus the current time in ISO 8601 format in UTC. They update every second, and each has a Copy button so you can paste the value straight into a database query, API request, test or log search.

How to get the current timestamp in code

Unix time counts seconds since midnight UTC on 1 January 1970. It is the same at that instant everywhere in the world, regardless of time zone, which is why it is used for logging and storing times. The time shown here comes from your device's clock, so if your clock is wrong, so is the value; most phones and computers sync automatically.

Below the live clock, you can convert any timestamp to a readable date or any date back to a timestamp.

FAQ

Is the Unix timestamp the same in every country?

Yes. It counts seconds since 1970-01-01 00:00:00 UTC, so at any moment it is the same number worldwide. Only the local display differs.

Why do some timestamps have 13 digits?

Those are in milliseconds, as used by JavaScript and Java. Divide by 1,000 to get seconds.

Does Unix time include leap seconds?

No. Unix time ignores leap seconds; every day is treated as exactly 86,400 seconds.