How to change Timezone without restarting teh server

Hi
I have changed my timezone using the command

export TZ='Asia/Calcutta"

but teh affect is taking place only in teh shell where I am logged in. If I export teh variable when I open the new session, things are fine.

Can I affetct the change universally, without restarting the server.

Thanks

Krishan,

You should set your system's timezone in /etc/TIMEZONE:

$ cat /etc/TIMEZONE
# @(#)init.dfl 1.5 99/05/26
#
# This file is /etc/default/init. /etc/TIMEZONE is a symlink to this file.
# This file looks like a shell script, but it is not. To maintain
# compatibility with old versions of /etc/TIMEZONE, some shell constructs
# (i.e., export commands) are allowed in this file, but are ignored.
#
# Lines of this file should be of the form VAR=value, where VAR is one of
# TZ, LANG, CMASK, or any of the LC_* environment variables.
#
TZ=US/Eastern
# TZ=US/Central
# TZ=US/Mountain
# TZ=US/Pacific

I believe that the only way to make the change universal is to reboot the server.

Keith

Correct, since init gets it's TZ from there all it's child processes inherit this value.