Mitsubishi Electric - Computing for a Connected World Insight CD Home Page

Products
Services
Knowledgebase
Bulletins (IPBs)
Guides
FAQs
Owner's Handbooks
Product Datasheets
Miscellaneous Items
Upgrades
Downloads
Search Insight
E-Mail us
Insight Service
Year 2000
Other Mitsubishi Sites
Site Disclaimer

 
Xenix - Unix I.P.B. 3213 11th April 1996 (JB)
Department Category Implementation
Unix Software Advisory
Previous IPB Next IPB

Incorrect Timezone settings on SCO OpenServer 5

We have found that the timezone settings that are set during installation of SCO OpenServer 5 do not correctly allow for the changes from GMT to BST. If left set at default, the time will not correct for the U.K. 1 hour time difference in March and October.

The file concerned with this setting is /etc/TIMEZONE. The TZ variable is set depending where in the world the system is to be used. Using the /etc/tz command to alter the settings does not appear to work correctly as in previous versions of SCO UNIX.

To set this parameter correctly, use vi to change the TZ variable entry to look like this:

TZ='GMT0BST-1:00,90/2:00:00,300/2:00:00'
export TZ

This line must be correctly quoted.

This will set up the timezone to change correctly for 1996. Breaking the line down:

  • GMT0BST means Greenwich Mean Time (standard time zone), 0 degrees (at the meridian), British Summer Time (local daylight saving time)

  • -1:00 means adjust for one hour.

  • 90/2:00:00 means on day 90 at 2am change to daylight saving time (BST).

  • 300/2:00:00 means change back to standard time (GMT) at day 300 at 2am.

As 1996 is a leap year, the line may need to be adjusted for subsequent years.

Once altered, the machine must be rebooted for the changes to become globally effective.

Further information can be obtained by reading the man page on timezone(F) (use the command man F timezone to read).

----------oOo----------

 

Computing for a Connected World