Mac (version sonoma 14.1.1) gave me wrong date and time when setting it to automatic

Of course after trying everything suggested on the internet, nothing worked. Until I've tried this (credits to apple support team):

  1. open terminal
  2. type in this command: sudo rm /var/db/timed/com.apple.timed.plist
  3. press return. you'll get that you have to enter your password.
  4. enter password (note that the password will not be showing on the screen while typing).
  5. then try going back to settings and set the date and time to automatic. it should work.


note that if it didn't work and you got a message on the terminal "command not found" or some kind of error then boot your mac in safe mode and then repeat all of the above steps in safe mode. then restart your mac to normal mode.

hope it works. it worked on my mac.

if all of the above didn't work, try contacting apple support.

MacBook Pro 13″, macOS 14.1

Posted on Nov 11, 2023 2:37 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 20, 2023 3:56 AM

Thank you for the inspiration! It worked for me with some minor adjustments. If you encounter an error like "no such file or directory" or similar, as I did, there's no need to boot your Mac into safe mode. Simply enter superuser mode by running the following command:


sudo su


Enter your password and then run command that @AymanDemachkie specified:


rm /var/db/timed/com.apple.timed.plist


Restart your mac and apply Automatic date and time again and enjoy the real time :)

49 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Mac (version sonoma 14.1.1) gave me wrong date and time when setting it to automatic

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.