Windows

To sync the time on a computer with Windows OS you can run the command in console:

w32tm /resync /force

For the successful result of the command, the service Windows Time must be started. If it is not started, you should start it from Services (Win + R and enter "Services.msc" without quotes) or open command line console as an administrator and enter the command:

net start w32time