28 September 2013

How To: Update Hardware Clock - CentOS 6

Change the date with the "date" command, for example:

# date --set="6 SEP 2013 15:55:00"

To update the hardware clock use the following command:

# hwclock --systohc

To view the date/time in hardware clock use the following command:

# hwclock --show

No comments: