pget timezone ubuntu code example
Example 1: how to change time zone in ubuntu 18.04 server
sudo timedatectl set-timezone your_time_zone
Example 2: how to change time zone in ubuntu 18.04 server
timedatectl list-timezones
sudo timedatectl set-timezone your_time_zone
timedatectl list-timezones