ubuntu switch timezone 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