ubuntu timedatectl set timezone code example
Example 1: how to change time zone in ubuntu 18.04 server
$ sudo timedatectl set-timezone Europe/Bratislava
Example 2: how to change time zone in ubuntu 18.04 server
timedatectl list-timezones
$ sudo timedatectl set-timezone Europe/Bratislava
timedatectl list-timezones