Mac 雖有自動對時,但有時與標準時間有秒級偏差。終端機呼叫內建 ntpdate 直接同步 Apple 時間伺服器:
sudo ntpdate -u time.apple.com
-u:使用非特權埠 (UDP 123) 避開防火牆限制。4 Jul 14:30:11 ntpdate[28267]: adjust time server 17.151.16.14 offset 0.000336 sec
offset 0.000336 sec 表示本機時間與標準時間差 0.336 毫秒,系統時間已自動校準。

time.apple.com 或 time.asia.apple.com,系統會定期自動同步(通常每小時)。timed 守護進程管理時間,ntpdate 仍可用但非主要機制。