# World Clock with DST and Clock Check

> The current time in any city, with UTC offset, daylight saving time and the next clock change. Plan meetings across zones and check your own clock.

- Page: https://notadevblog.com/en/tools/date-time/world-clock/
- German version: https://notadevblog.com/de/tools/date-time/world-clock.md
- Category: Date & Time

## At a glance

- **Processing:** Locally in your browser, also offline once the page has been opened. Input never leaves your device.
- **Data:** Time zone rules of your browser (IANA), plus city, country and German names
- **Clock check:** Compares your device clock with the server’s Date header, accuracy shown

## For agents

WebMCP: the page registers these functions via document.modelContext in browsers that support it.
ES module: https://notadevblog.com/core/world-clock.js
Every function returns { "ok": true, ... } or { "ok": false, "error": { "code", "message" } }.

### world_clock

Local time, UTC offset, daylight saving state, day difference and the next offset change for up to 50 zones at one instant (default: now). zones take IANA ids, cities, countries, German names or abbreviations ("Munich", "Indien", "PST"). at is an ISO time with offset, or a local time read in ref (default: the first zone). A local time that does not exist (DST gap) moves forward, one that occurs twice uses the earlier; both are explained in notes. dayDelta is -1, 0 or +1 against ref. Uses the time zone data of the JavaScript engine, which can lag behind recent rule changes.

Parameters:
- zones (array, required): For example ["Europe/Berlin", "New York", "Tokyo"].
- at (string): ISO 8601. Without offset: local time in ref. Default: now.
- ref (string): Reference zone for at and dayDelta. Default: first zone.
- locale (string: en | de, default "en"): Language of the city labels.

Example input: `{"zones":["Europe/Berlin","New York","Tokyo"],"at":"2026-12-24T18:00","ref":"Europe/Berlin"}`

Deep link (options in the query, user data after #): https://notadevblog.com/en/tools/date-time/world-clock/?zones=Europe/Berlin,New+York,Tokyo&at=2026-12-24T18%3A00&ref=Europe/Berlin&fn=world_clock

### time_zone_search

Find IANA time zones by city, country, German name, abbreviation or long name ("Mumbai", "Schweiz", "IST", "Mitteleuropäische Zeit"). Ambiguous abbreviations return several zones (IST: Kolkata, Jerusalem, Dublin). matchedBy says how each zone was found.

Parameters:
- query (string, required)
- limit (integer, default 10, 1..50)
- locale (string: en | de, default "en")

Example input: `{"query":"IST"}`

Deep link (options in the query, user data after #): https://notadevblog.com/en/tools/date-time/world-clock/?fn=time_zone_search#query=IST

## How to use

1. **Add cities:** Search by city, country, abbreviation or zone, for example “Munich”, “India”, “PST” or “Asia/Tokyo”.
2. **Plan a time:** Switch from “Now” to a time of your choice. It is read in the reference zone, and every city shows its local time for that moment.
3. **Check your clock:** The clock check compares your device clock with the server’s and says how far it is ahead or behind, with the accuracy of the measurement.

## About this tool

No computer has “the” time: every quartz clock drifts by up to a few seconds a day. NTP synchronizes clocks by measuring the round trip to a time server and assuming both directions take equally long, so the error is at most half the round trip.

Browsers cannot speak NTP, so the clock check uses the Date header of a static file from this site and the same idea. For the order of events across machines, wall clocks are not enough; distributed systems use logical clocks (Lamport, vector or hybrid clocks).

## Frequently asked questions

### Why does a city show “next day”?

It is already the next calendar day there, compared with the reference zone. Tokyo is 8 hours ahead of Berlin in winter, so 18:00 in Berlin is 02:00 the next day in Tokyo.

### When do the clocks change?

In the EU on the last Sunday of March and October at 01:00 UTC, in the US on the second Sunday of March and the first Sunday of November. Each city shows its own next change.

### Why is India at +05:30?

Not every country uses whole hours. India is at +05:30, Nepal at +05:45 and the Chatham Islands at +12:45 in winter; Lord Howe Island moves its clock by only 30 minutes.

### How accurate is the clock check?

Usually to a few hundredths of a second. The server’s Date header has whole seconds, so the check sends several requests timed around a second change; the result states its accuracy.

### Can the time zone data be out of date?

Yes, if a country changes its rules at short notice. The times come from your browser’s time zone data, which updates with the browser.
