Time – ArchWiki

To set the hardware clock directly (the argument must be in local time, even if you keep your hardware clock in UTC.):

# hwclock --set --date="YYYY-MM-DD hh:mm:ss"

The hardware clock can be set from the system clock and vice versa:

# hwclock --systohc
# hwclock --hctosys

 

Leave a Reply