Ubuntu: Set Time and Timezone

Check current date / time
$ date
Thu Aug 22 01:12:32 UTC 2019
List available timezones
$ timedatectl list-timezones
Set timezone
$ sudo timedatectl set-timezone Europe/London
Check current date/time configuration
$ timedatectl status
Sync time with ntp

Ensure that “status systemd-timesyncd” is running

$ systemctl status systemd-timesyncd

Time synchronistation is enabled by default. Run the command timedatectl and ensure that “System clock synchroized” and “systemd-timesyncd.service active” are both set to yes. If not, run the following command:

$ sudo timedatectl set-ntp on
Specify your own ntp-servers
nano /etc/systemd/timesyncd.conf

Edit the configuration file, uncomment NTP= and add your servers space-sperated

NTP=192.168.1.10 192.168.1.2 192.168.1.3
FallbackNTP=uk.pool.ntp.org ntp.ubuntu.com
Restart systemd-timesyncd-Service

$ sudo systemctl restart systemd-timesyncd