Synchronizing the system clock across the network
systemd-timesyncd is a daemon that has been added for synchronizing the system clock across the network. (…)
Basically it makes sure your system clock is in sync in you network. In my home network I set this up to make sure my desktop, server and laptop are in sync.
I added NTP servers in the timesyncd configuration file, before enabling and starting the service:
1sudo vi /etc/systemd/timesyncd.conf
1[Time]
2NTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org
3FallbackNTP=0.pt.pool.ntp.org 1.europe.pool.ntp.org 2.europe.pool.ntp.org
1sudo systemctl enable systemd-timesyncd
2sudo systemctl start systemd-timesyncd
3sudo systemctl status systemd-timesyncd
4timedatectl status
5timedatectl timesync-status