To set timezone on CentOS
As root,
cd /etc rm localtime ln -s /usr/share/zoneinfo/Asia/Shanghai localtime
search for your respective timezone in /usr/share/zoneinfo
Check the time with
date