Make Tech Easier published a tutorial about how to sync Linux time with NTP server.
How to Sync Linux Time With NTP Server
Computer clocks are not perfect. Given a few days, weeks or months, they drift and stop showing the real time. After they drift, they may show it’s “10:30” when in fact it’s “10:33.” It was common practice on older computers to periodically readjust the computer clock manually. But after Internet connections became ubiquitous, modern operating systems started to adjust the clock automatically with the help of NTP servers.
How to Sync Linux Time With NTP Server