New Years is just a few days away, so I thought I’d take a little time to learn more about Apple Time. Your Mac always knows what time it is because it uses one of Apple’s custom NTP servers. NTP, which stands for Network Time Protocol, provides a way for clocks to synchronize even when faced with variable latency data networks. It was developed back in the 1980’s at the University of Delaware.
In System Preferences’ Date & Time settings, you can selet one of three Apple NTP servers: time.apple.com, time.asia.apple.com, or time.euro.apple.com. Select the one that bests describes your geographic location. Your computer will contact the server on a regular basis to resynchronize your system.
The polling frequency of your clock is set in /private/etc/ntp.conf, where it typically checks for accuracy about every hour. The ntp.conf file, which is used by the NTP daemon (ntpd,
ps -ax | grep ntpd), sets a minimum polling and a maximum polling interval. These represent seconds to the power of two. So the (Apple) standard minimum polling interval of 12 is 4096 seconds, or about 68 minutes. The maximum polling interval of 17 is more like a day and a half.
Sometimes despite everything, you may lose sync to network time. Apple has a support how-to posted that walks you through updating your ntp.conf file to deal with this.
Finally, I stumbled across this interesting NTP hack, which allows users without system administrator privileges to access a second time server. Nifty.