Date time setting with linux command
In linux you can set the date and time using either the timeconfig or linuxconf command utilities or simply by using the commands below
[root@server /root]# date 011711082008
Thu Jan 17 11:08:00 CDT 2008
[root@server /root]# hwclock –utc –systohc
[root@server /root]#
To survive a reboot, the “hwclock –utc –systohc” command is used to update the hardware clock with the date from the Linux system clock.