HostOnNet Blog

Setting TimeZone in CentOS 7

Looking for Linux Server Admin or WordPress Expert? We can help.

To see current timezone, run

root@server20 [~]# timedatectl status
      Local time: Sat 2015-10-24 03:46:18 UTC
  Universal time: Sat 2015-10-24 03:46:18 UTC
        RTC time: Sat 2015-10-24 03:46:14
        Timezone: UTC (UTC, +0000)
     NTP enabled: n/a
NTP synchronized: no
 RTC in local TZ: no
      DST active: n/a
root@server20 [~]# 

To set timezone to UTC, run

timedatectl set-timezone UTC

To See all available timezones, run

timedatectl list-timezones

Posted in CentOS

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.