Switching between Elementary OS and Windows, I noticed that the Time was not set correctly. This is mostly caused by Windows and Linux using two different ways of setting time. Linux sets the computers time to the RealTimeClock and then applies the timezone. While Windows simply sets the computer’s clock to the TimeZone you are currently in.
The classic way of fixing this issue is, changing some value in the Registry. However, I use a different – more native to Windows method by using the already existing “Synchronize Time” Task and adding a trigger to ensure that it runs at login.
Step 1: Open Task Scheduler
Open the “Task Scheduler” (Press the Windows Key and Type Task Scheduler)
Navigate to the Folder Task Scheduler Library/Microsoft/Windows/Time Synchronisation
Step 2: Set up Trigger
Step 3: Set up a new Trigger
Navigate to the Tab “Triggers” and click on “New”
In the Dialog Box Select Begin the task: “At Log on”
Now the clock should always be set to the correct time whenever you log on.