Time Difference between windows and linux systems

Source: Internet
Author: User


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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.