Teknobench
Support

Digital Clock

A large live digital clock with seconds, 12 or 24 hour display, the date and any time zone, with a full screen mode. Runs in your browser only.

--:--:--

The clock starts on your own time zone. Times and daylight saving time come from your browser's time zone database.

How to use the digital clock

  1. Open the Time zone list. It starts on your own zone. Choose another zone, such as Asia/Tokyo or Europe/Paris, to read the time there.
  2. Click 12-hour clock (AM/PM) to switch between a 12-hour display with AM and PM and a 24-hour display. The button shows its state: when it is pressed, the 12-hour format is active.
  3. Click Show seconds to hide or show the seconds. When the seconds are hidden, the time changes once a minute.
  4. Click Full screen to fill the screen with the clock, for a wall display, a kitchen, a classroom or a meeting room. Click Exit full screen or press the Escape key to go back to the page.

The date line under the time gives the day of the week, the day, the month and the year for the zone you selected, written in the language of the page.

What the clock shows

The clock reads the current moment from your device and converts it to the zone you chose. The digits are large enough to read from across a room, and they are shown with a fixed width, so the display does not jump as the numbers change. The time is not stored, sent or logged: the page computes it from the clock of your device each time it updates.

The time and date come from the Intl API built into your browser. This API uses the same time zone database as the rest of the operating system, so it knows the current UTC offset of each zone and the daylight saving time rules, past and future. When a zone changes its clocks, the display follows automatically, with no update to the page needed.

Choosing a time zone

The list contains the zones your browser knows, named in the IANA format: a region and a city, such as America/Toronto or Asia/Kolkata. The zone name tells you the place, not the offset, which is why a zone such as Europe/Paris changes between winter and summer time. Several cities share one zone, so Montreal and Toronto both appear as America/Toronto.

Comparing two places is simple: the difference between their clocks is the difference between their UTC offsets. At noon in Paris in summer (UTC+2), it is 6 am in Toronto in summer (UTC-4). If you need a conversion for a specific meeting or a flight, the time zone converter on this site does the same calculation for any date.

Full screen and display

The full screen mode uses the Fullscreen API of your browser. Browsers only open full screen after a click or a key press, which is why the button has to be pressed. Some browsers, some mobile devices and some embedded pages do not offer full screen at all. In that case the button is disabled and a message explains why. If the browser refuses the request, the message asks you to click again.

The colours follow the light or dark theme of the site. By default this is the setting of your system: dark when your device is in dark mode. If you chose a theme with the site’s theme switch, that choice is used instead.

Sleep, background tabs and accuracy

While the tab is hidden, the clock stops updating and does not use any processor time. When you come back to the tab, the time is redrawn at once with the correct value, even if your computer was asleep for hours. The time on screen is only as accurate as the clock of your device. If your computer’s clock is wrong, the display is wrong by the same amount. Most systems keep the clock right by synchronising with a network time service, which you can enable in the date and time settings of your operating system.

Accessibility

The time is in an element with the timer role, so assistive technology can read it when you move to it. The display does not announce each second, which would be distracting. The buttons report their state with aria-pressed, so a screen reader says whether the 12-hour clock or the seconds are on.

Frequently asked questions

Does the digital clock need an internet connection?

No. The clock, the list of time zones and the daylight saving rules come from your browser. Once the page has loaded, the clock keeps working offline, as long as the page stays open.

Is the time shown exactly right?

The time is as exact as the clock of your device. The tool reads that clock several times a second and aligns each update with the start of a second, so the digits change on time. It cannot correct a clock that is set wrong.

Why is the time zone list so long?

Your browser knows hundreds of zones, one for each region and city that has its own clock history. Most of them are historical or regional variants. The list is sorted alphabetically, and the first entry is UTC, the reference time without any offset. Pick the zone that matches the place you want, not only a country name.

Can I show the clock on a TV or a second screen?

Open this page on the device connected to the screen, then click Full screen. The clock does not cast from another device. Mirroring a computer screen to a TV shows the same picture, and the full screen mode fills that picture.

Does the clock keep running when I switch tabs?

It pauses while the tab is hidden and restarts when you return to it. Nothing is lost: the time is recalculated from your device’s clock, so the display is correct as soon as the tab is visible again.