Last updated on April 20th, 2011 at 06:59 pm
How to synchronize date and time in linux console ?

# yum install ntp
# chkconfig ntpd on
# ntpdate pool.ntp.org
# /etc/init.d/ntpd start
How to synchronize date and time for hardware clock in Linux ?
# hwclock --systohc
I’ve sync the time for my CentOS 5.6 using this way.
To check your current date,
# date
Wed Apr 20 18:58:28 MYT 2011

Works great! Thanks a lot…
ntpdate is long deprecated (as long back as 2004) and you are still suggesting it ?!?
offset value is too high ….how can we solve this value ?