how to set timezone in ubuntu server code example Example 1: ubuntu check server timezone timedatectl Example 2: ubuntu server change timezone $ sudo dpkg-reconfigure tzdata