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
Leave a Reply