About HourDiff

Time difference, without the arithmetic.

Who we are

HourDiff is a set of services giving people precise information about the current time anywhere in the world, and the exact hour difference between any two places, so they can organise business trips, online meetings, events and travel without doing arithmetic in their head.

What we cover

409
cities
164
countries and territories
202
active time zones

Our data sources

  • IANA time zone database — the canonical record of every offset change, maintained by the tz database project and used by operating systems worldwide. Every conversion on HourDiff is computed directly from it.
  • GeoNames — the public geographical database used for the city list, coordinates and population figures.
  • ISO 3166 — country names and two-letter codes.

Because the source data is public and machine-readable, every number on HourDiff can be verified independently. When a government changes its offset rules, the IANA database is updated and the clocks here reflect the change on the day it takes effect.

How the clock is calculated

Every page is rendered on the server with the current time already in place, then handed to the browser, which recomputes every second using the same IANA rules through the Intl.DateTimeFormat API. The two calculations are independent, so a clock that looks right also tells you the data is right.

We never store a fixed UTC offset for a city. We store its time zone identifier and resolve the offset at the moment of display — which is the only way to stay correct across a daylight saving transition.

Our values

Trustworthy information only

No estimated offsets, no guessed transitions. If the canonical database does not say it, we do not display it.

No location left out

Coverage is geographic rather than commercial — small cities matter as much as capitals when you are trying to reach someone.

Speed is a feature

A world clock should not make you wait. Pages here are built to be cached at the edge and rendered in a single request.

Contact

Corrections, additions and bug reports are welcome. If a city is missing, or an offset looks wrong, tell us which location and which source you are comparing against.

Running on hourdiff.com. Time zone data is checked against the current IANA release on every deployment.

Technical notes

Built with PHP and SQLite behind Apache. No frameworks, no build step, no external runtime dependencies. The entire city dataset is a single SQLite file that can be regenerated from app/seed.php at any time.