Sfinx software tree - time zones

All workstations at the Observatory are set up to have the proper time, including changing automatically to DST (daylight savings time) [yes, the most recent European changes have been incorporated]. So, why bother ?

Well, you can select another time zone if you need it, for example if you are doing remote observations, by setting the variable TZ to the appropriate name.

Unfortunately, names aren't completely standardized, but here are a few you can use:

  MET  Middle European Time : our time zone (CET also works)
  WET  Western European Time, e.g. UK (also known as GMT, maybe even UT)
  EET  Eastern European Time

  US/Eastern  (EST5EDT)    The various USA time zones
  US/Central  (CST6CDT)
  US/Mountain (MST7MDT)
  US/Pacific  (PST8PDT)
  US/Alaska           
  US/Hawaii   (HST)

  Chile/Continental   Chile
If you can't find a proper name, you can always use GMT+4 for the zone that is 4 hours ahead of GMT.

Some examples

To set the time zone for all subsequent commands:
setenv TZ HST
To ask for the date in a certain time zone:
(setenv TZ HST;date)
In .xsession : start a clock for another time zone:
(setenv TZ HST; xclock -geometry -0-0) &

David.Jansen@strw.leidenuniv.nl
Last modified: Tue Oct 29 16:51:46 MET 1996