By default, Windows uses local time, while linux uses UTC.
Solution for Windows7
When RealTimeIsUniversal is enabled, Windows will treat the Real-Time Clock (RTC) from the motherboard as UTC time.
- Open Regedit, drill down to:
- HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
- Create a new DWORD entry named “RealTimeIsUniversal”. Set the value to 1.
- Shut down Windows and boot Fedora.
- Set the correct time in Fedora, shutdown, and boot back into Windows.
- go to Date/Time Properties via System > Administration > Date & Time or by opening a terminal and entering: system-config-time
- Under the Time Zone tab, clear the checkbox next to “System clock uses UTC”.
- Under the Network Time Protocol tab, select Enable Network Time Protocol.