System clock switching back randomly.

The other night I left my 13 inch 2019 Macbook pro connected to a HDMI screen whilst it wasn't on charge. It drained the battery completely. When I went to use it the next morning my system clock was set to 25/06/2023.

I managed to change the clock back to the right time with this command:

sudo sntp -sS time.apple.com

The problem is that (whilst using) my macbook will randomly change back to this other time date and time 25/06/2023. Yesterday I probably had to run the command (sudo sntp -sS time.apple.com) 3 times throughout the day.

When I opened my macbook today, same problem. I realised from the logs that is my last system wake date.

2023-11-02 06:08:47.940681+1100 0x5002e  Default   0x0         12747 0  apsd: (PersistentConnection) [com.apple.PersistentConnection:persistentTimer.com.apple.apsd(push.apple.com)-NonCellular] Last system wake date (2023-06-25 23:19:11 +1000) was longer than half of the timer duration, so setting minimum fire date to fire date.

This is the only log with an error type:


2023-11-02 06:08:47.889513+1100 0x5015d  Error    0x72dc4       122  0  timed: [com.apple.timed:text] Command 'TMSetAuthenticatedSourceTime' included mach time when not expected, forcing conversion


And these are the the first logs after The system time is switched to the last system wake date:


2023-06-25 23:20:05.664333+1000 0x0    Timesync  0x0         0   0  === system wallclock time adjusted

2023-06-25 23:20:05.664709+1000 0x5015d  Default   0x0         122  0  timed: [com.apple.settimeofday:] settimeofday({0x64983f05,0x9c9e3}) == 0

2023-06-25 23:20:05.664785+1000 0x5015d  Default   0x72dc4       122  0  timed: [com.apple.timed:text] Setting system time to Sun Jun 25 23:20:05 2023 from TMTimeSynthesizer

2023-06-25 23:20:05.665437+1000 0x4bee   Info    0x0         3250  0  studentd: (ClassroomKit) [com.apple.classroom:General] Cached time found. No attempt to fetch the internet date and time will be made.

This is the command I ran to get the logs:

log show --predicate 'eventMessage contains "sntp" OR eventMessage contains "time" OR eventMessage contains "ntp"' --info --last 1h

Hope the information I provided helps. I have very little idea what I'm talking about so any help would be appreciated :)


MacBook Pro 13″, macOS 14.1

Posted on Nov 1, 2023 1:42 PM

Reply

There are no 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.

System clock switching back randomly.

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