Epoch Clock
The current Unix time, updating live, with the matching UTC and local date.
Epoch clock
How to use this clock
- 1
Watch the clock. The large number is the current Unix timestamp in the unit you choose.
- 2
Pause when you need a value. Pause freezes the display so you can read or copy it; the clock underneath keeps running, and Resume jumps back to now.
- 3
Copy. Copy the main value, or any row below it.
Example
At 2023-11-14T22:13:20Z the epoch clock reads 1700000000 seconds or 1700000000000 milliseconds.
How it is calculated
The clock reads your device’s system time (Date.now), which has millisecond resolution. Milliseconds are therefore real; the microsecond and nanosecond rows show the same instant with zeros appended. Browsers do not expose a nanosecond-accurate wall clock, so those rows are there to show the format, not extra accuracy.
Accuracy is that of your device’s clock. If the clock is wrong or adjusts while the page is open, the displayed time changes with it. The display refreshes up to once per animation frame while the tab is visible and catches up when you return to it.
Reading the numbers
| Counter | Value | Date and time (UTC) |
|---|---|---|
| 1,800,000,000 s | 1.8 × 10⁹ | 2027-01-15T08:00:00Z |
| 2,000,000,000 s | 2 × 10⁹ | 2033-05-18T03:33:20Z |
| 10,000,000,000 s | 10¹⁰ | 2286-11-20T17:46:40Z |
The Epoch Clock shows the current count updating every moment. It reads your device clock, which is usually synchronised by the operating system over the network, so it is typically within a fraction of a second of true UTC.
Where timestamps appear
Event times in log files, message queues and database rows are often Unix time.
JWT iat/exp claims and HTTP cache lifetimes use seconds.
Cron-like jobs and expiry times are compared as numbers, which is simple and unambiguous.
Compare two timestamps by subtracting them: the difference is in the unit you chose.
Precision and limits
A browser exposes time in milliseconds and a high-resolution timer in smaller steps, but the clock is only as accurate as your device. Nanosecond display on a web page is a representation of the number, not a claim of nanosecond accuracy. Leap seconds are not counted in Unix time: the count treats every day as exactly 86,400 seconds.
Questions
Why does the nanosecond row end in zeros?
Because the browser clock cannot measure below one millisecond for wall-clock time. The row shows the millisecond value multiplied by 1,000,000.