Setting your timezone
The timezone under Linux is set by a symbolic link from /etc/localtime[1] to a file in the /usr/share/zoneinfo[2] directory that corresponds with what timezone you are in. For example, since I'm in South Australia, /etc/localtime is a symlink to /usr/share/zoneinfo/Australia/South. To set this link, type:
Code:
#ln -sf ../usr/share/zoneinfo/your/zone /etc/localtime
or
#ln -s /usr/share/zoneinfo/your/zone /etc/localtime
Replace your/zone with something like Australia/NSW or Australia/Perth. Have a look in the directories under /usr/share/zoneinfo to see what timezones are available.
[1] This assumes that /usr/share/zoneinfo is linked to /etc/localtime as it is under Red Hat Linux.
[2] On older systems, you'll find that /usr/lib/zoneinfo is used instead of /usr/share/zoneinfo. See also the later section ``The time in some applications is wrong''.
Source:
http://www.linuxsa.org.au/tips/time.html
If you can't find the timezone you want, have a look in /usr/share/zoneinfo/Etc/ . There should be all the timezones that are missing.
If the timezone exists already, just move it with:
Code:
#mv /etc/localtime /etc/localtime_backup
#ln -s /usr/share/zoneinfo/your/zone /etc/localtime
Cheers
http://www.ihostnz.com