Comment 1 for bug 737632

Revision history for this message
Eric Norum (wenorum) wrote :

On RTEMS the TZ environment variable can be used to set the time zone information and the dates at which to switch between standard and daylight-savings time. The following example applies to Chicago for the daylight-savings times rules in effect for 2011:
 epicsEnvSet TZ "CST6CDT,M 3.2.0,M 11.1.0"
This sets the standard time name to CST and the daylight-savings time name to CDT. Standard time is 6 hours behind GMT. Daylight savings begins on the 0th day (Sunday) of the second week of the third month and ends on Sunday of the first week of the eleventh month.

The command
 epicsEnvSet TZ "CST6"
is applicable for Saskatchewan which stays on Central Standard Time all year.