Question: how to set hwclock time in linux?
Answer: Either you can set the hardware clock to the current system time by using this command: hwclock --systohc. ... 
Or, you can set the system time from the hardware clock by using the following command: hwclock --hctosys.