Why Is My Computer or Phone Clock Wrong? Causes and Fixes
If your clock is off by exactly one hour, by several hours, or by a few drifting minutes, each pattern points to a different cause. This guide helps you diagnose and fix it on Windows, macOS, Linux, Android and iPhone.
Web clocks such as VClock display the time from your own device. So when a clock on a website looks wrong, the problem is nearly always the device's settings. Start by opening the exact time page: it shows your device's time, the time zone it thinks it is in, and the matching UTC time. Then use the pattern of the error to find the cause.
Quick diagnosis
| Symptom | Most likely cause |
|---|---|
| Exactly one hour out | Daylight saving problem: the zone is set to a fixed offset, DST adjustment is turned off, or the system has outdated time zone rules |
| A whole number of hours out (2, 5, 8…) | Wrong time zone selected, or a dual-boot PC storing the hardware clock differently |
| Off by 30 or 45 minutes | Wrong zone with a half-hour offset (for example India or Newfoundland) selected by mistake |
| A few seconds to minutes out, growing over time | Automatic time sync is off or blocked |
| Wrong date and time after every restart (often years in the past) | Dead CMOS/RTC battery on a desktop PC |
| Website shows UTC instead of local time | Browser privacy setting that hides your time zone |
| Timer runs slow or catches up in jumps | Browser throttling a background tab, or the device sleeping |
1. Check the time zone setting
The most common cause of a wrong clock is the wrong time zone. Choose a region (such as "Riga" or "Eastern Time (US & Canada)") rather than a raw offset like "UTC+02:00", because a region includes the daylight-saving rules and a raw offset does not.
- Windows 11: Settings › Time & language › Date & time. Turn on "Set time zone automatically", or turn it off and pick the zone manually. Make sure "Adjust for daylight saving time automatically" is on.
- macOS: System Settings › General › Date & Time. Turn on "Set time zone automatically using your current location" (it needs Location Services), or choose the closest city.
- Linux (systemd):
timedatectlshows the current zone. Set it withsudo timedatectl set-timezone Europe/Riga; list names withtimedatectl list-timezones. - Android: Settings › System › Date & time. Enable automatic time zone, or select one.
- iPhone and iPad: Settings › General › Date & Time. Enable "Set Automatically".
Automatic time zone detection uses location services or the mobile network. If you have disabled location access, set the zone manually.
2. Turn on automatic time synchronisation
Computer clocks are driven by quartz oscillators that can drift by seconds per day. Automatic time synchronisation, using the Network Time Protocol, corrects that drift in the background.
- Windows: in Date & time settings, turn on "Set time automatically" and press "Sync now". If sync fails, the Windows Time service may be stopped; on a work PC, the company network may provide its own time source.
- macOS: enable "Set time and date automatically".
- Linux:
sudo timedatectl set-ntp true, then check "System clock synchronized: yes" intimedatectl status. - Phones: enable automatic date and time.
Some networks block NTP's UDP port 123, which can stop syncing. If your clock keeps drifting on one network but not another, that is a likely reason. Our article How internet time synchronisation works explains the protocol.
3. Out by exactly one hour? Look at daylight saving
- Make sure the zone is a named region, not a fixed offset.
- On Windows, check that "Adjust for daylight saving time automatically" is enabled.
- Install operating system updates. Governments occasionally change their DST rules, and devices learn about the change through updates to the time zone database. An old phone or computer that no longer gets updates may switch on the wrong date.
- Remember that regions change on different dates. If a colleague's time looks an hour off in March or late October, it may be correct; see Daylight saving time explained.
4. Dual-boot PCs: several hours out after switching systems
PCs have a hardware real-time clock (RTC) on the motherboard that keeps time while the computer is off. Windows traditionally stores local time in the RTC, while Linux and macOS store UTC. If you dual-boot Windows and Linux, each system "corrects" the clock the other set, and the time jumps by your UTC offset every time you switch. The usual fix is to tell Linux to treat the RTC as local time (timedatectl set-local-rtc 1) or, alternatively, configure Windows to use UTC in the RTC through a registry setting (RealTimeIsUniversal). The first is simpler; the second is cleaner but should be done carefully.
5. Wrong after every restart: the CMOS battery
Desktop PCs keep the RTC running with a small coin-cell battery (often a CR2032). When it runs out, usually after several years, the clock resets each time the computer loses power, often to a date years in the past. Symptoms include certificate errors on websites ("your clock is behind") until the system syncs online. Replacing the battery is usually straightforward but involves opening the case, so follow the manufacturer's instructions or ask a technician.
6. VPNs and travel
A VPN changes your apparent location on the internet, but it does not change your device's clock or time zone. However, some websites guess your time zone from your IP address and may show times for the VPN server's country. If a site shows unexpected times while you are on a VPN, check whether it uses your device setting or your IP location. When you travel, phones with automatic time zone update on landing; laptops may only update when they get a location fix, so check them manually.
7. Browser privacy settings that report UTC
Some privacy features deliberately hide your time zone from websites because it can be used for fingerprinting. Firefox's "resist fingerprinting" option and the Tor Browser, for example, report UTC to websites. In that case a web clock will show UTC even though your system clock is correct. If you want local times on a specific site, you would need to change the privacy setting; consider the trade-off before doing so.
8. Timers and alarms that run late
To save battery, browsers slow down timers in background tabs. Chrome, for example, limits timers in hidden tabs to about once per second, and can reduce some to once per minute after a tab has been hidden for several minutes. Mobile browsers may suspend background tabs entirely, and every browser stops when the device sleeps.
Well-built web timers compare against the clock rather than counting ticks, so they show the correct remaining time when you return; VClock's Pomodoro timer and alarm clock work this way. But the sound can only play when the browser runs the page. For important alarms, keep the tab visible, keep the device awake and plugged in, or use your phone's built-in alarm app.
9. Still wrong? Compare with an independent source
If the settings all look right but the time still seems wrong, compare against another source: a radio-controlled clock, a phone on the mobile network, or the official time website of a national laboratory. If several devices on the same network are wrong in the same way, the network's time server or router may be misconfigured. On a work computer, contact your IT department, since time settings may be managed centrally.
Why an accurate clock matters
A wrong clock causes more than missed meetings. Secure websites check certificate validity dates, so a clock that is far off can cause connection errors. Two-factor authentication codes based on time can stop working if the device clock is off by more than a minute or so. Files, emails and logs get the wrong timestamps. Keeping automatic time and time zone enabled is a small setting with a large effect.