Epoch Clock

The current Unix time, updating live, with the matching UTC and local date.

Timestamp tool

Epoch clock

—
seconds since 1970-01-01 UTC
Unit

How to use this clock

  1. 1

    Watch the clock. The large number is the current Unix timestamp in the unit you choose.

  2. 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. 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

Digits by unitA Unix timestamp has 10 digits in seconds, 13 in milliseconds, 16 in microseconds and 19 in nanoseconds.10 digitsseconds13 digitsmilliseconds16 digitsmicroseconds19 digitsnanoseconds
Each step multiplies the number by 1,000. Today’s second count has 10 digits; it reaches 11 digits in the year 2286.
Upcoming round numbers
CounterValueDate and time (UTC)
1,800,000,000 s1.8 × 10⁹2027-01-15T08:00:00Z
2,000,000,000 s2 × 10⁹2033-05-18T03:33:20Z
10,000,000,000 s10¹⁰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

Logs and databases

Event times in log files, message queues and database rows are often Unix time.

Tokens and caches

JWT iat/exp claims and HTTP cache lifetimes use seconds.

Scheduling

Cron-like jobs and expiry times are compared as numbers, which is simple and unambiguous.

Debugging

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.