Wednesday, March 31, 2021

time clock is always wrong in the dual system windows and macOS ?



Many Mac+Windows dual system users may be very distressed: What should I do if the time of Windows and Mac are inconsistent?

We must first be clear that the default way Windows and Mac treat system hardware time is different: Windows treats system hardware time as local time, that is, the time displayed in the operating system is the same as that displayed in BIOS/EFI The time is the same.

Mac regards the hardware time as UTC, and the time displayed in the operating system is converted from the hardware time. For example, if Beijing time is GMT+8, the time displayed in the system is hardware time +8.

Let me explain the proper nouns of UTC and GMT:

UTC: Universal Time Coordinated, coordinated universal time

GMT: Greenwich Mean Time, Greenwich Mean Time

If you set the time zone in both Mac and Windows to Beijing time, and you change the current system time to 10:00AM on the Mac, the actual UTC time stored in the hardware at this time is 2:00AM. At this time, after you restart and enter Windows, you will find that the time displayed in the windows system is 2:00AM, which is eight hours slower than the Mac.

In the same way, after you change the system time in Windows or use the network to synchronize the system time, and then check it in the Mac, the system will be almost 8 hours faster.

The kid's solution is:

We let Windows treat the hardware time as UTC (that is, modify it under Windows)

In Start-Run-CMD (Win7 needs to be run as an administrator), enter the following command (copy it):

Reg add HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation /v RealTimeIsUniversal /t REG_DWORD /d 1





After restarting and entering Mac or Windows, the time difference of 8 hours will no longer occur. Is it very convenient?

No comments: