UTC, GTC time, and local time

Source: Internet
Author: User
Tags time zones
1. Questions

For machines with Windows and Linux systems, the time to enter Windows is inconsistent with Linux, and Linux is 8 hours ahead of Windows.

2. Solution

To modify/etc/default/rcs, set not to use UTC time, set the following:
Utc=no

3. Explanation

This is a question about time, so let's start with the concept of time.

UTC (Universal time coordinated): Reconciling the Universal Time
GMT (Greenwich Mean time): GMT
local time: 24 time zones worldwide, adjusted in GMT or UTC. For example, Beijing is the East eight district, then Beijing time is gmt+8 or utc+8

UTC and GMT are basically the same, but UTC passes the average solar time (GMT), the new time scale after the axis movement is revised, and when the international atom in seconds is synthesized, the computational process is rigorous and precise, so UTC is more precise and accurate than GMT.

The way Windows and mac/linux default on system hardware time is different:
1) Windows treats the system hardware time as local time, that is, the time displayed in the operating system is the same as the time shown in the BIOS.
2) Linux/unix/mac default hardware time as UTC, operating system display time is the hardware time after conversion, for example, Beijing time is gmt+8, the system display time is hardware time +8.

Therefore, to solve the problem of inconsistent display time between Windows and Linux, just set Linux/unix/mac not to use hardware time as UTC time, but as local time.

UTC, GTC time, and local time

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.