-
Notifications
You must be signed in to change notification settings - Fork 30
How to change server timezone
Daniel Speichert edited this page Dec 27, 2015
·
1 revision
You can manage timezone using one simple command: timedatectl
First, view current settings:
[otsmanager@server ~]# sudo timedatectl
Local time: Sun 2015-12-27 01:31:46 UTC
Universal time: Sun 2015-12-27 01:31:46 UTC
RTC time: n/a
Time zone: UTC (UTC, +0000)
Network time on: no
NTP synchronized: yes
RTC in local TZ: no
If necessary, change the timezone:
[otsmanager@server ~]# sudo timedatectl set-timezone America/New_York
If you want to know what time zones are available, execute:
[otsmanager@server ~]# sudo timedatectl list-timezones
Powered by Spigu.net Team | Get OTS Hosting Service with support | Visit our Otland Thread