Vote for Our Mud on TMC!











help > timezone
TIMEZONE

Timezone is an environmental variable that allows you to see dates and times
in your local time. It is set by using the 'setenv' command to set the
offset of your timezone from Coordinated Universal Time (UTC). To set your
timezone use the command 'setenv timezone OFFSET' where OFFSET is a positive
or negative number of hours of your timezone differs from UTC.

If your locale observes daylight savings time, you'll need to manually
change your offset twice a year to keep it accurate.

For example:
     US Central Standard Time (CST)        setenv timezone -6
     US Central Daylight Time (CDT)        setenv timezone -5

To correctly set or reset your own timezone variable, do the following:

  1.  type 'setenv timezone' to delete any current setting, if it exists
  2.  note your own local time and date
  3.  type 'date'
  4.  determine the difference in hours between your local time and the time
      displayed (see google for numerous resources/calculators)
  5.  type 'setenv timezone <difference>', for example 'setenv timezone -3'
  6.  type 'date' again and verify that the time displayed now matches your
      local time

See also: setenv, date