Attempting to access Google, Wikipedia, online banking, or social media in Google Chrome only to be blocked by a red warning screen proclaiming “Your clock is ahead” or “Your clock is behind” with the error code NET::ERR_CERT_DATE_INVALID stops web browsing in its tracks. Chrome warns that attackers might be trying to steal your credentials, making the error appear like a dangerous cyberattack. In reality, modern HTTPS encryption relies on precise timestamp validation. When your computer’s system clock drifts by even a few minutes, SSL security certificates appear either expired or not yet valid. Synchronising your clock with official time servers resolves the error immediately.
Force a Windows Time Server Synchronisation (Windows 11)
Windows 11 features a built-in time synchronisation utility that queries official Microsoft NTP (Network Time Protocol) servers to correct clock drift.
- Right-click the Date and Time display in the bottom-right corner of your Windows taskbar.
- Select Adjust date and time from the pop-up menu.
- Ensure the toggle switch for Set time automatically is turned On.
- Ensure Set time zone automatically is also toggled On.
- Under the Additional settings section, locate the button labelled Sync now.
- Click Sync now. You will see a small spinning circle followed by a green checkmark confirming successful synchronisation.
- Return to Google Chrome and press Ctrl + F5 to reload the blocked webpage.
Resynchronising with the time server aligns your system clock with global atomic standards, allowing SSL certificates to pass validation.
Restart and Reconfigure the Windows Time Service
If clicking “Sync now” produces an error or your clock continues falling behind, the background Windows Time service (W32Time) may be stopped or misconfigured.
- Press Windows Key + R on your keyboard to open the Run dialogue.
- Type
services.mscand press Enter to launch the Services console. - Scroll down through the alphabetical list to find Windows Time.
- Right-click Windows Time and select Properties.
- Change the Startup type from Manual to Automatic.
- If the service status is stopped, click the Start button.
- Click Apply and then OK.
Configuring the service to Automatic ensures Windows continuously refreshes its clock during boot.
Resync System Time on macOS
If you encounter the date invalid error in Chrome on an Apple Mac, refreshing network time settings takes only a few clicks.
- Click the Apple menu in the top-left corner and select System Settings.
- Click General in the left sidebar, then select Date & Time.
- Toggle off Set time and date automatically, wait five seconds, and toggle it back On.
- Verify that the time server is set to
time.apple.com. - Ensure Set time zone automatically using your current location is enabled.
Toggling automatic time on macOS forces an immediate query to Apple’s network clocks.
Check for a Depleted Motherboard CMOS Battery (Desktop PCs)
If your computer clock resets to a date several months or years in the past every time you power down or unplug your PC from the wall, the internal CMOS coin-cell battery has depleted.
- Desktop motherboards use a small CR2032 lithium coin battery to power the real-time clock chip when disconnected from mains power.
- When this battery dies, the clock forgets the current time upon shutdown.
- Purchasing an inexpensive replacement CR2032 battery and snapping it into the motherboard socket permanently solves chronic time drift.
Maintaining an active CMOS battery ensures your real-time clock retains correct hardware timestamps across all power cycles.