About GMT UTC CST and Linux time zone settings

Source: Internet
Author: User
Tags local time

GMT is GMT, UTC is the universal Time, GMT and UTC are the same time

Beijing time is East eight district, namely Gmt+8 or utc+8

Cst:central Standard Time (CST) is 6 hours behind coordinated Universal time (UTC). This time zone was in use during standard time in: North America, central America.


Supposedly cst=utc-6.

However, CST has no meaning in the time zone environment variable TZ in Linux.

The format of TZ is:

set TZ=TZN[+|-]HH[:MM[:SS]][DZN]

TZN: Three-letter time zone name.
HH:UTC and local time difference , optionally with the symbol.
MM: minutes, separated by a colon (:) and HH.
SS: Seconds, separated by a colon (:) and mm.
DZN: Three-letter daylight time zone such as PDT.

In fact TZN and DZN can be any 3 letters, as long as the middle of the time difference is set correctly .

For example: Export tz= ' CST-8 ', where CST can write any letter, the key is-8, the system is to think your current time minus 8 hours is Greenwich Standard Time,

It's just east eight, so it's usually written when we set up the Beijing time zone, but it can actually be written as export tz= ' abcd-8 ', and the timing is right, and the key is the time difference and +-sign .

About GMT UTC CST and Linux time zone settings

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.