Specifying your time zone

You must identify a time zone for your replication and publishing environment.

About this task

The TZ environment variable maps your local time zone to the Greenwich mean time (GMT) or universal time coordinated (UTC). Set the TZ environment variable in the /etc/profile file.

The three primary fields specify the time zone:

  • The local standard time, abbreviated (for example, CST or PDT).
  • The time offset west from the universal reference time. You must specify the hours west from universal reference time, but you can also specify minutes and seconds. A minus sign (-) indicates an offset east of the universal reference time.
  • The daylight savings time zone, abbreviated (for example, CDT). If the local standard time matches the daylight savings zone time, or if you do not specify the daylight savings time zone, the system will not convert to daylight savings time. You can also specify when daylight savings time starts and ends.

Procedure

To specify your time zone setting:
  1. Identify your time zone setting. Time zone codes for the TZ environment variable lists the time zone settings.
  2. Set the TZ environment variable.
    For example, if you want to set your time zone to central standard time (CST), specify: TZ=CST6CDT. You must specify your time zone setting even for the GMT time zone.