Here are the steps to take to enable the Network Time Protocol (NTP) daemon on CentOS. Change the timeserver value to one that is close to you.
yum install ntp ntpdate nl.pool.ntp.org service ntpd start chkconfig ntpd on
If you encounter the error “no server suitable for synchronization found”, you can use an unprivileged port to connect with the timeserver:
ntpdate -u nl.pool.ntp.org