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