timezone

To get list of all available timezones, run

timedatectl list-timezones

Example

# timedatectl list-timezones | grep -i kolka
Asia/Kolkata
# 

You can use the following command to set the timezone

timedatectl set-timezone EST

Example

timedatectl set-timezone EST
timedatectl set-timezone UTC
timedatectl set-timezone America/New_York
timedatectl set-timezone Asia/Kolkata

To set the timezone in Ubuntu, run

dpkg-reconfigure tzdata

/etc/localtime

For GMT

ln -sf /usr/share/zoneinfo/GMT /etc/localtime

For EST

ln -sf /usr/share/zoneinfo/EST /etc/localtime

Back to time

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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