Skip to content

Instantly share code, notes, and snippets.

@pulketo
Created September 17, 2019 02:30
Show Gist options
  • Select an option

  • Save pulketo/ef683a6b56ffdab3b9a4a77e7ee1fcbf to your computer and use it in GitHub Desktop.

Select an option

Save pulketo/ef683a6b56ffdab3b9a4a77e7ee1fcbf to your computer and use it in GitHub Desktop.
timezone centos 7
[root@lxmp1 ~]# timedatectl list-timezones | grep -i xico
America/Mexico_City
[root@lxmp1 ~]# timedatectl set-timezone America/Mexico_City
[root@lxmp1 ~]# timedatectl
Local time: Mon 2019-09-16 21:29:13 CDT
Universal time: Tue 2019-09-17 02:29:13 UTC
RTC time: Tue 2019-09-17 02:29:13
Time zone: America/Mexico_City (CDT, -0500)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: yes
Last DST change: DST began at
Sun 2019-04-07 01:59:59 CST
Sun 2019-04-07 03:00:00 CDT
Next DST change: DST ends (the clock jumps one hour backwards) at
Sun 2019-10-27 01:59:59 CDT
Sun 2019-10-27 01:00:00 CST
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment