CmdID

CmdID / Commands

hwclock

Get/set the hardware clock. toybox

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Linux

from the toybox, 0BSD

Get/set the hardware clock. Default is hwclock -ruf /dev/rtc0

hwclock [-rswtlu] [-f FILE]
-f FILEUse specified device FILE instead of /dev/rtc0 (--rtc)
-lHardware clock uses localtime (--localtime)
-rShow hardware clock time (--show)
-sSet system time from hardware clock (--hctosys)
-tInform kernel of non-UTC clock's timezone so it returns UTC (--systz)
-uHardware clock uses UTC (--utc)
-wSet hardware clock from system time (--systohc)

Read or change the hardware clock.

Display the current time as reported by the hardware clock

sudo hwclockIdentify

Write the current software clock time to the hardware clock (sometimes used during system setup)

sudo hwclock --systohcIdentify

Write the current hardware clock time to the software clock

sudo hwclock --hctosysIdentify