Clock with Nanoseconds
A precision digital clock showing milliseconds, microseconds and nanoseconds — with an honest note on what browsers can really measure.
Clock with Nanoseconds
- UTC
- Unix (ms)
What the nanosecond digits really mean
No browser can read a true nanosecond wall clock. The time of day comes from your device clock (Date), which has whole-millisecond resolution and is usually within a few to a few tens of milliseconds of true time.
The digits below the millisecond are filled in from the browser's high-resolution monotonic timer (performance.now()), anchored to the device clock: time since the anchor is added to it in nanoseconds (using exact BigInt arithmetic). They come from a real timer — they are never random — but they are an interpolation between clock readings, not a measurement of the wall clock to the nanosecond.
Browsers also deliberately coarsen that timer to protect against timing attacks. Its resolution is measured when the page loads. The screen also only redraws about every 16 ms, so you can't see individual nanoseconds change.
If your device clock is changed or the computer wakes from sleep, the clock re-anchors to the device time automatically.
Your data is processed locally in your browser and is not uploaded to OZVILO servers.
How to use the Clock with Nanoseconds
- 1Open the page — the clock starts immediately from your device's time.
- 2Read hours, minutes and seconds, then milliseconds, microseconds and nanoseconds underneath. Dimmed digits are below your browser's timer resolution.
- 3Switch between 24-hour and 12-hour time, and show or hide the UTC line.
- 4Press Stop display to freeze the digits, then copy the local or UTC timestamp, or the Unix time in milliseconds or nanoseconds.
- 5Use Fullscreen for a large precision display.
Examples
Main display
- Input
- 24-hour, live
- Result
- 14:35:22 with .123 456 789 underneath (ms · µs · ns)
Copied local timestamp
- Input
- Copy timestamp
- Result
- 2026-11-12T14:35:22.123456789+05:00
Copied Unix time
- Input
- Copy Unix (ns)
- Result
- A 19-digit integer such as 1794476122123456789
Clock with Nanoseconds features
- Milliseconds, microseconds and nanoseconds on one display
- Measures your browser's timer resolution and dims digits below it
- 12/24-hour, date, day, time zone and UTC
- Stop display, copy ISO and Unix timestamps (BigInt nanoseconds)
- Fullscreen mode
Frequently asked questions
Is this clock really accurate to the nanosecond?
No — and no website can be. Browsers provide the time of day in whole milliseconds, plus a high-resolution monotonic timer that they deliberately round to steps of roughly 5 µs to 1 ms. This clock anchors that timer to the time of day and adds the elapsed time in nanoseconds, so the extra digits come from a real timer, not random numbers, but they're an interpolation, not a nanosecond measurement of the wall clock.
Why are some digits dimmed?
When the page loads it measures the smallest step of your browser's timer. Digits finer than that step can't carry information in your browser, so they're dimmed. In many browsers that means everything below about 100 µs or 5 µs.
How accurate is the time of day itself?
It comes from your device clock, which is usually kept in sync over the internet to within a few to a few tens of milliseconds. The page doesn't contact a time server.
What does Stop display do?
It freezes the digits so you can read or copy them; the copy buttons then copy the frozen moment. Start display resumes the live clock. Time itself keeps going, of course.
What format is the copied timestamp?
ISO 8601 with nine fractional digits and your UTC offset, for example 2026-11-12T14:35:22.123456789+05:00. The UTC version ends in Z, and Unix (ns) is the number of nanoseconds since 1 January 1970 UTC.
Related tools
- Available
Clock with Milliseconds
A live digital clock with milliseconds, date, time zone, UTC toggle, fullscreen and one-click ISO or Unix timestamps.
Time ToolsOpen tool - Available
Online Stopwatch
A drift-free stopwatch with laps, splits, best, worst and average lap, keyboard shortcuts and copyable results.
Time ToolsOpen tool - Available
World Time Clock
See the current time in cities around the world at once — IANA time zones, automatic daylight saving, day/night and UTC offsets.
Time ToolsOpen tool - Available
Count Up Timer
A timer that counts up from zero, with laps, an optional target duration with alert, and a copyable elapsed time.
Time ToolsOpen tool