Execution date
command findings show the actual time and the time difference of 8 hours
$ date
Fri Mar 13 06:08:33 UTC 2020
Specifies the date -R
time zone is zero, China time zone should +8
$ date -R
Fri, 13 Mar 2020 06:10:33 +0000
Modified to CST (China Standard Time) time zone:
$ TZ=CST-8
$ export TZ
$ date -R
Fri, 13 Mar 2020 14:26:14 +0800
$ date
Fri Mar 13 14:26:24 CST 2020
Can also modify the / etc / profile, add a
export TZ=CST-8
appendix:
-
UTC
entire planet 24:00 divided into zones, each with its own local time zone time. In the case of international radio communications, for the sake of consistency, the use of a single time, when called Universal Coordinated (UTC, Universal Time Coordinated). -
GMT
Greenwich Mean Time (Greenwich Mean Time) refers to standard time the Royal Greenwich Observatory, UK London suburb, because the prime meridian is defined by where the warp. (UTC substantially the same time and GMT) -
CST
China Standard Time (China Standard Time) -
DST
daylight saving time (Daylight Saving Time) of the sun rises earlier than the clock ahead one hour during the summer, in order to advance the use of sunlight. (China does not use) -
Conversion method
GMT + 8 = UTC + 8 = CST