I recommend following the steps below and checking if they help:
Open the Command Prompt by typing cmd.exe into the Start Menu, right-clicking on cmd.exe and open cmd as administrator.
Then run the following commands one by one:
Code
net stop w32time
Code
w32tm /unregister
Code
w32tm /register
Code
net start w32time
Code
w32tm /resync /nowait
Once finished, your Windows should automatically update/sync your time, while you are connected to internet.
Please note that the default time server used by Windows is time.windows.com. Some software, such as custom firewalls or privacy tools, may block this server. If your problem still persists after making the above changes, please make sure that this server is not blocked.
You can change the default time server using the CMS command below (don't forget to run CMD as admin):