Your computer clock needs to be synced in order for the game to work properly. By default it's set to do so (in Windows 10) but if for some reason it's not please do the following:
Click on Time & Language
Click on Date & time
Under “Synchronize your clock,” click the Sync now button
Your mileage may vary if you're using a different operating system.