We run CentOS for many of our server builds and this question often comes up. Hope this helps.
Here are the steps:
- Make a backup copy of the default localtime file.
- Create a symbolic link to a new localtime file
mv /etc/localtime /etc/localtime.bak
ln -s /usr/share/zoneinfo/America/Los_Angeles /etc/localtime
Be sure to replace “America/Los_Angeles” with the directory (if your zone has one) and filename of the timezone you want to use. Then test your change by running the command “date” from the command line.