Modify the Linux system time EDT to Cst__linux

Source: Internet
Author: User

I saw a machine this morning. Time does not match, this thought the system time and the network Beijing time is not synchronized, on the terminal command performs the network time synchronization

[Root@localhost ~]# ntpdate time.windows.com


After execution, in the execution of terminal commands, viewing time or the same, in fact, EDT and CST are different, time zone is not the same

EDT: Refers to the eastern United States Daylight Time, Boston, New York, Washington Columbia, Dist. Of, all in this timezone, with the 12-hour jet lag, 12 hours late.

CST: can refer to the following two kinds:

1. Central United States Standard Time (West Six district, -6:00), China is East Eight (+8:00), Beijing time than the Central American Standard Time 14 hours earlier. 3:45 PM CST is Beijing time 1:45.
2. Chinese standard Time (+10:30), China is East Eight (+8:00), Beijing time is 2.5 hours later than the standard time in Australia. 3:45 pm CST is Beijing time afternoon 5:45.

Now, just change to the time zone CST in Beijing, and modify it as follows:

[Root@localhost ~]# mv/etc/localtime/etc/localtime.bak
[root@localhost ~]# ln-s Shanghai  /etc/localtime
[root@localhost ~]# Date





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.