United States (change)
Shortcuts: Downloads Fedora Red Hat Network
In order to change the timezone of your system you will need to access the file /etc/sysconfig/clock directly:
#ZONE="America/New_York" ZONE="GMT" UTC=false ARC=false
Note: If your system's BIOS has UTC set to true, then set UTC to true. If it has it set to false, set it to false. UTC in the configuration file must always reflect your BIOS settings.
In order to get the particular zone you wish to use you must associate ZONE with a file located in /usr/share/zoneinfo. It is wise to note the directory structure because if you need to set the timezone to that of Shanghai which is located in the Asia directory you will then have to set your ZONE variable to the following :
Or perhaps you need to set the timezone to that of East Brazil :ZONE="Asia/Shanghai"
Finally save the file /etc/sysconfig/clock and on next reboot the system will be set to the defined timezone.ZONE="Brazil/East"
Now by typing the date command to display the time you should see if reflect the newly linked timezone :# ln -sf /usr/share/zoneinfo/Brazil/East /etc/localtime
# date Thu Sep 30 10:06:23 BRT 2004
This article is protected by the Open Publication License, V1.0 or later http://www.opencontent.org/openpub/ Copyright © 2003-2004 by Red Hat, Inc.
For more tips and/or tricks check out the Red Hat Knowledgebase at: http://kbase.redhat.com