change system time to local in 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
$ sudo timedatectl set-timezone Europe/Bratislava