My notebook contains two linux and three windows, centos and debian/server2003 xp win7 pro versions. Every time windows comes in to linux, the time is always wrong, because debian is used for xp at home and debian at the company, the obvious time difference will be found when the server is switched on and off twice a day, especially when the message entered at web.qq.com is completely incorrect, it will be faster than 8 hours or even more (when the license is used ). The reason is found: linux uses the time in the motherboard cmos as the Greenwich Mean Time, and finally determines the current system time based on the time zone set by the system, for example, if the cmos time is Beijing time GMT +, the display time of the desktop is, and windows uses the motherboard cmos time as the current display time, which is not converted according to the time zone, unless it is enabled, it will be adjusted to 1 hour-30 hours. Therefore, if you use windows for normal Beijing time and linux for more than 8 hours, I am debian, directly modify UTC = yes in/etc/default/rcS to UTC = no, then set the next time zone, Chengdu, and then change it to Beijing time, OK. Restart windows to find everything is normal, restart to enter linux to find everything is normal.
From the column of rainysia