My Snow Leopard macbook is set to Set date and time automatically: Apple Americas/U.S. (time.apple.com)
, but despite sitting idle for several hours (with internet connection), it has yet to do any syncing, the date remains off by ~2 days.
-
Try toggling it on and off to force a refresh.– mindless.pandaDec 20, 2011 at 15:00
-
How about trace routing time.apple.com and then trying a different ntp client against that server?– mindless.pandaDec 20, 2011 at 15:59
5 Answers
From terminal:
sudo ntpdate -u time.apple.com
macOS Catalina:
sudo sntp -sS pool.ntp.org
-
1
-
1
-
2
-
-
14Confirmed NOT working in Mojave, as
ntpdate
and co have been removed. See this excellent answer for up-to-date instructions. Sep 5, 2019 at 17:55
Per the ntpdate
man page, the accepted answer will become obsolete when ntpdate
is retired. If you encounter this problem, this will do the equivalent:
sudo ntpd -q
ntpd
: ...sets and maintains the system time of day in syn- chronism with Internet standard time servers.
-q
: Set the time and quit.
Sources:
I ran these two commands on Mojave:
sudo systemsetup -setnetworktimeserver pool.ntp.org
sudo sntp -sS pool.ntp.org
Following https://superuser.com/a/1479345 following two answers on https://apple.stackexchange.com/q/117864
you can go into the system preferences and reset the time manualy, and then set the time to sync automaticly again once you are back up to speed with whatever day/week/month you need. i am not sure why its not syncing with apple, but you can just set the day properly and it will be accurate as long as you dont cross too many time zones.
-
2Many time sync utilities have safeguards, where they won't sync if the time difference is too large, to prevent disasters if, for example, time server is compromised, etc. So, set the time roughly right manually, then it should sync by itself.– haimgDec 20, 2011 at 16:05
The currently accepted answer does NOT work in Mojave, as ntpdate and co have been removed.
See this excellent answer on the Apple StackExchange for up-to-date instructions.
-
1Please quote the essential parts of the answer from the reference link(s), as the answer can become invalid if the linked page(s) change.– DavidPostill ♦Apr 7, 2020 at 15:48
-
-
2Unfortunately that's not what we do here. We are not Wikipedia. A class example is Microsoft who broke huge numbers of links and deleted the content. Please follow the Stack Exchange conventions as instructed. Please read Your answer is in another castle: when is an answer not an answer? - Meta Stack Exchange– DavidPostill ♦Apr 8, 2020 at 17:02