About O Relógio
O Relógio shows the exact time in any city, with nothing to install. Alongside it are the everyday tools: alarm clock, stopwatch, timer and world clock.
Who makes it
The site is a project by Dantai, a Brazilian company that runs quick-answer tools on the web. Suggestions and corrections arrive through the contact page.
How the exact time is checked
Your phone or computer clock may run a few seconds, or even minutes, fast or slow. So when the page opens, O Relógio asks our server for the time. The server is kept in step over the internet with NTP (Network Time Protocol), the same protocol used by networks and operating systems.
The site measures the round trip of that request, treats half of it as connection delay and works out the difference between your device and the reference time. The time shown is your device's clock corrected by that difference; the remaining error is a fraction of a second.
The first time is already written into the page by the server, so the answer shows up even without JavaScript.
Where the time zones come from
No time zone is typed by hand. City times are calculated with the IANA Time Zone Database (tz database), the public database that records the world's time zones and every daylight-saving change decided by governments. PHP uses it on the server and your browser uses it on your device, and it is updated several times a year.
That is how the site follows the start and end of daylight saving time in each country on its own and shows the right time difference between two cities on any date. World clock cities are picked by hand, one by one.
Alarms and privacy
Alarms, timers and preferences are stored only in your browser; nothing is sent to the server. The alarm rings while the tab is open and the device is unlocked — browsers do not let a website ring on a locked screen. See the Privacy Policy and Terms of use.
Ads
The site is free and may show ads. They never appear before the tool and never affect the time shown.