OS-Linux-System
Jump to navigation
Jump to search
- See Also
- OS-Linux
Time
Time Zone
systemd
Distributions with systemd, like RHEL 7 and CentOS 7, can require use of tools not historically used to set the time zone. The timedatectl command is useful. For example:
- $ date
- Thu Mar 1 19:49:10 EST 2018
- $ timedatectl list-timezones
- $ timedatectl list-timezones | grep America
- $ timedatectl set-timezone America/Chicago
- Thu Mar 1 18:51:43 CST 2018
This change is preserved over system reboot.