ubuntu set zone 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
$ sudo timedatectl set-timezone Europe/Bratislava
sudo timedatectl set-timezone your_time_zone
$ sudo timedatectl set-timezone Europe/Bratislava