About Time Difference Between
timedifferencebetween.com is a small, fast, ad-free tool for comparing the time between any two cities in the world. It exists because every other tool we tried buried the useful answer (the overlap window, the next DST change, the current local time) under banners, popups and dark patterns.
Principles
- Calm. One accent colour. 24-hour time by default, with a 12-hour switch on every comparison. No exclamation marks, no urgency design.
- Honest. Real-time data via the IANA tz database — DST changes are picked up automatically, including jurisdictions that recently changed rules (Mexico, Iran, Jordan, Türkiye).
- Private. No analytics scripts, no cookies, no tracking, no fingerprinting. Like every web server, ours keeps short-lived access logs; we only read aggregate page counts from them. We never ask for your location — the auto-theme picks light or dark from your browser's IANA timezone (the same one your OS already uses).
- Open. The data is at
/assets/cities.json. The runtime helpers are at/assets/citylib.js. There's anllms.txtfor AI assistants.
Data sources
| What | Source | Method |
|---|---|---|
| Current time per city | IANA tz database (via browser Intl.DateTimeFormat) | Live |
| UTC offset & DST badge | IANA tz database | Live (season-aware) |
| Next DST transition | IANA tz database | Binary search inside Intl |
| Sunrise & sunset | NOAA solar position algorithm | Computed in browser (±5 min) |
| Weather snapshot | Open-Meteo | Live, no API key, no tracking |
| Flight duration | Great-circle distance ÷ 850 km/h cruise + 30 min taxi | Computed in browser |
| City coordinates & population | GeoNames (curated core + cities15000, population > 100k) | Static JSON |
How city pairs work
Every published pair has a clean canonical URL with alphabetically sorted slugs, for example /berlin-mexico-city. Other combinations use /pair?from=<slug>&to=<slug> and produce the same comparison at runtime.
Tech
Plain static HTML/CSS/vanilla-JS. No build step required to view the site; the optional tools/build.py regenerates derived files (the JS mirror of cities.json, the sitemap, popular pair pages and llms.txt) from a single source of truth.
Typefaces are Geist and Geist Mono, served from this domain as variable woff2 under the SIL Open Font License 1.1. Nothing is loaded from a font CDN, so no third party sees your IP address when a page renders.
Embed widget
Put a live two-city clock on your own page: pick the cities, theme and clock format on the time zone widget page and copy the snippet. Every pair page's Share button also hands you the snippet pre-filled for that pair, plus a downloadable summary image.
Who runs this site
timedifferencebetween.com is built and maintained by PRIMERO.LINK LLC (primero.link). The site and its guides are written by its founder, Ronny Arndt, who travels full time and schedules client calls across time zones himself.
Time data is recomputed from the IANA time zone database every time a page loads. Each page also carries its text as it will read after its next clock changes and switches at the exact second, and the pages are regenerated automatically within hours of any clock change or rule change anywhere in the world, so what a search engine reads stays correct too.
Contact
Spotted a wrong time, a bug or a city we should add? Email hola@primero.link.