linux date command
I found date is rather a useful command to encode or decode timestamp from epoch or human readable date.
1 | |
But actually, the -s option will not change linux time from CMOS level, linux time will follow what CMOS tick tock.
There is another command to modify linux time from CMOS level.hwclock --set --date="2011-08-14 16:45:05"
It will surely set hardware clock as 2011-08-14 16:45:05
linux date command
https://rug.al/2014/2014-03-13-linux-date-command/