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:
sudo vi /etc/systemd/timesyncd.conf
[Time]
NTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org
FallbackNTP=0.pt.pool.ntp.org 1.europe.pool.ntp.org 2.europe.pool.ntp.org
sudo systemctl enable systemd-timesyncd
sudo systemctl start systemd-timesyncd
sudo systemctl status systemd-timesyncd
timedatectl status
timedatectl timesync-status