LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   Unmodifiable timedate. (https://www.linuxquestions.org/questions/arch-29/unmodifiable-timedate-4175653335/)

stf92 05-04-2019 04:48 PM

Unmodifiable timedate.
 
Hi: I speak about the date command. Maybe I use it to correct the time some minutes. But after reboot, the clock is as before. Only makingthe correction in the BIOS menu does. How cann that be?

frankbell 05-04-2019 06:56 PM

After setting the system time with the "date" command, use hwclock to set the hardware clock from the system clock.

Code:

hwclock -w
See the hwclock man page for more.

There are other ways to do this, but this one has been the easiest for me to remember.

stf92 05-04-2019 07:15 PM

Code:

bill@darkstar~$ hwclock -w
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --verbose option to see the details of our search for an access method.
bill@darkstar~$

Code:

bill@darkstar~$ hwclock -w --verbose
hwclock from util-linux 2.32
System Time: 1557015241.385282
Trying to open: /dev/rtc0
No usable clock interface found.
hwclock: Cannot access the Hardware Clock via any known method.
bill@darkstar~$



All times are GMT -5. The time now is 12:53 PM.