The way I did made Firefox stop working, so this is the better way.
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.