Ubuntu and Windows default time management differently, so it's normal to have a dual-system time disorder. Ubuntu default time is to take the BIOS time as gmt+0 time, which is the world standard, while our country is in the East Eight area (gmt+8), so if your Ubuntu location is China, your system display time is the BIOS time + 8 hours. If it's 8 in the morning, then you'll have 8 in Ubuntu, and the time in the BIOS is 0.
And when you switch to the Windows system there will be time confusion, because Windows will think that the BIOS time is your local time, the result is that Windows display time is 0 points ... And if you sync time in Windows, restore to display 8 points, then the BIOS time will be rewritten by Windows to 8 points, once again into the Ubuntu display time has become a 8+8=16 point ...
There are two solutions, one for Windows to use Ubuntu for time management, the other is to enable UTC (Coordinated world time) and the other is to let Ubuntu manage time in Windows mode, which is to disable Ubuntu (World coordinated). The second type of personal advice, because Windows is usually the primary system, does not recommend this modification to Windows, but I would like to introduce:
To enable UTC under Windows
Open the Run window (shortcut key Win+r), and then enter Regedit to start Registry Editor and locate the directory location:
hkey_local_machine/system/currentcontrolset/control/timezoneinformation/
Add a key value of type REG_DWORD, named Realtimeisuniversal, with a value of 1 and then back to normal after reboot.
To turn off UTC under Ubuntu
This method is recommended by me: Press Ctrl+alt+t to pull out the terminal, enter:
sudo gedit/etc/default/rcs
Press Ctrl+f to find, find Utc=yes this line, change to Utc=no, save can, time changes immediately effective. This will solve the windows and Ubuntu dual system time synchronization problem.