how to install hwclock on centos at UTC constantly. The value changes from UTC to localtime upon reboot. This causes my application to have drift./etc/sysconfig time. A UTC value also switches from true to false after a reboot.
Run the command
sudo hwclock --systohc --utc
set UTC to true in the configuration file / etc / sysconfig / clock