MacBook Pro running Sonoma reverting to wrong date & time

My 15" 2018 MBP has an issue with setting date and time automatically. Since the last two/three days the clock keep reverting to February 2022 (today is November 12, 2023). I have recently upgraded to 14.1.1, and have already tried resetting the SMC and NVRAM to no avail. Setting the clock through Terminal using "sudo sntp -Ss time.apple.com" work fine to set the clock, but the systems keeps resetting to February 2022 during the day. For now I have turned off "Set date & Time Automatically" in system settings and that keeps the clock set to the correct time. However I would like to ensure the time is set automatically to avoid me setting time 'all the time' as inevitably the clock will drift at some point.


[Re-Titled by Moderator]

MacBook Pro 15″, macOS 14.1

Posted on Nov 14, 2023 1:13 AM

Reply
Question marked as Best reply

Posted on Dec 26, 2023 12:34 PM

was able to fix it following Luis Sequiera1’s instructions but for those who have brain farts like me, here’s a bit more detail:


1 Open Terminal app (go to Finder > Applications > Utilities > Terminal) and type the following:

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


2 Press Return. You will be prompted to enter your password. You will not see the password as it is being typed.


3 Press Return to run the command (you won’t see anything change on the screen, but it’s working its magic)


4 Restart the Mac

5 Go to System Settings > General > Date & Time > Set time and date automatically (I had to click on 24-hour time, which is what I originally had it on - and voi la!)

75 replies
Question marked as Best reply

Dec 26, 2023 12:34 PM in response to Ir. Bob

was able to fix it following Luis Sequiera1’s instructions but for those who have brain farts like me, here’s a bit more detail:


1 Open Terminal app (go to Finder > Applications > Utilities > Terminal) and type the following:

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


2 Press Return. You will be prompted to enter your password. You will not see the password as it is being typed.


3 Press Return to run the command (you won’t see anything change on the screen, but it’s working its magic)


4 Restart the Mac

5 Go to System Settings > General > Date & Time > Set time and date automatically (I had to click on 24-hour time, which is what I originally had it on - and voi la!)

Dec 12, 2023 4:51 AM in response to 2mennieloginz

This is rather interesting:


Normally, /var is just a symlink to /private/var. So both paths should point to exactly the same location on the disk. The other thing that strikes me is that you had to go into the Finder to change permissions in order to execute the command in the terminal. The command basically is a combination of two:


  • sudo: Act as the superuser for the following command; in other words, sudo will give you the highest possible privileges and will give you access to everything for the command that follows. (in this case the rm command)
  • rm: remove the following file.


Since you had to change permissions and you're not sure whether you've got them back to what they should be, it could be wise to run "First Aid" on your disk using the "Disk Utility" app. This should repair permissions on system files to their default.


For future readers of this thread, it may be wise to run a slightly modified command:

sudo rm -f /private/var/db/timed/com.apple.timed.plist

the -f option will ensure the file will get deleted even with "wrong" permissions, and will avoid the linkage between /var and /private/var, by directly deleting for the folder where the file is actually located.

Dec 1, 2023 9:42 AM in response to Ir. Bob

I had the same issue. Just started today. Initially, I noticed my time was wrong. It said it was 2:56 AM when it was 11:45 AM. The date was correct though. So I opened my Date/Time settings and clicked the "Set" button to see if that would fix it but it didn't. I noticed I had a pending software update (OS 14.1.2) so I decided to install that to see if it would fix it.


After the update was installed my date was now changed back to back to November 15th, 2020. I tried turning the automatic date/time setting off and on, and clicking the Set button but it didn't change it.


I tried the suggested solution twice and it didn't seem to fix it. When I would reboot the date/time would still be wrong and I'd have to set it manually. After the second time, I turned off the automatic setting and manually set the date/time to the correct time. I then turned the automatic setting back on, and the date/time stayed the same. Not sure if there is a delay after the change before it fixes or what, but seems to be working now.


I tested it by manually setting the date to the wrong date, then turning on the automatic setting and it changed it back to the correct date/time now. I did another reboot, and the date/time are still correct.

Dec 22, 2023 9:23 AM in response to Ir. Bob

I also have this problem and haven't been able to fix it.

I have a 2019 MBP, and since downloading the new OS update, the clock is always wrong whenever I open the computer from a long sleep. It keeps thinking we're in 2019, but chooses a new random month and day each time. I end up just setting it manually, but whenever I ask it to do automatically to the time.apple.com server it just goes back to some random date in 2019. Idk what to do and I hate having to reset it each morning so any help would be lovely!

Dec 9, 2023 1:29 AM in response to None414

None414 wrote:

I’ve tried this step but it says command not found.

Is there anything else I could do to troubleshoot?

As Ir. Bob said, you made a typing error. It has to be typed exactly, including spaces. You may want to copy and paste the command to avoid that.


Here it is again - it is all in a single line:


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

Dec 30, 2023 1:38 PM in response to Ir. Bob

I've had this issue for days, trying every solution posted with multiple reboots however only one thing seemed to work for me.


Ir. Bob said to try using ' sudo rm -f /private/var/db/timed/com.apple.timed.plist ' instead of sudo rm /var/db/timed/com.apple.timed.plist which seemed to work for me using the below instructions from fangirl3121


Note: Before running the below instructions, I had 'Set date & time automatically' turned off


1 Open Terminal app (go to Finder > Applications > Utilities > Terminal) and type the following:

sudo rm -f /private/var/db/timed/com.apple.timed.plist


2 Press Return. You will be prompted to enter your password. You will not see the password as it is being typed.


3 Press Return to run the command (you won’t see anything change on the screen, but it’s working its magic)


4 Restart the Mac


5 Go to System Settings > General > Date & Time > Set time and date automatically (I had to click on 24-hour time, which is what I originally had it on - and voila!)


Thanks everyone for the suggestions!

MacBook Pro running Sonoma reverting to wrong date & time

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