Skip to content

Current Unix Timestamp

The current Unix epoch time in seconds and milliseconds, updating live, with the matching UTC and local date.

Unix time (seconds)

The current Unix timestamp, live

The counter above reads your device clock and updates every second. Copy it in seconds or milliseconds, or take the ISO 8601 form when you need something a human can read.

Because it comes from your own machine, it is only as accurate as your system clock. If precision matters, compare against an NTP-synchronised source.

Frequently asked questions

Why does this differ from my server time?

This value comes from your device. Server clocks are usually NTP-synchronised, so a difference of a few seconds means your local clock has drifted.

How do I get the current timestamp in code?

JavaScript: Math.floor(Date.now()/1000). Python: int(time.time()). Go: time.Now().Unix(). PHP: time(). SQL: EXTRACT(EPOCH FROM NOW()).

Related tools