I messed up my system clock in Arch Linux

The correct way to do this would be by enabling ntpd.service via systemd.

# pacman -Syu ntp Installed the required package

# systemctl enable ntpd.service Enable it at boot so every time you boot the system the clock will be synchronized

# systemctl start ntpd.service Start it immediately

One could also run ntpd -qg as root.

Once you have systemd managing this operation, you should never have to worry about setting the clock agian.

note: there are some dual boot scenarios that will unsyncronize the clocks, there's also some registry hacks for the windows side of the dual boot to correct this issue.


I used the ntp solution in this article. Updated against a time server.

I was getting an error at first. You have to stop ntp before using a time server. If it can't find a server you have to specify it, in my case I used: sudo ntpdate 0.us.pool.ntp.org. That did it.