Date of this edition: March 01, 2007
The USA is changing its time zone rules, effective March 1, 2007, as part of the Energy Policy Act of 2005. The change affects when daylight saving time starts and ends:
| Daylight Saving Time: | Old: | New: |
|---|---|---|
| Starts | The first Sunday in April | The second Sunday in March |
| Ends | The last Sunday in October | The first Sunday in November |
While the standard rule will change across all states, US states will still have the right not to observe daylight saving time, as per the Uniform Time Act of 1966. For information about American time zones, see http://www.time.gov.
Canada is changing its time zones in a similar way; for more information, see http://inms-ienm.nrc-cnrc.gc.ca/time_services/daylight_saving_e.html and http://inms-ienm.nrc-cnrc.gc.ca/faq_time_e.html.
Mexico's rules for daylight saving time remain unchanged. For more information, see http://www.cenam.mx/horaexacta.asp.
Neutrino uses either the TZ environment variable or the _CS_TIMEZONE configuration string to determine the time zone. If TZ isn't set, the system uses the value of _CS_TIMEZONE instead. The POSIX standards include the TZ environment variable; _CS_TIMEZONE is a Neutrino implementation. The description below applies to both.
![]() |
How you update your system depends on what you've installed.
If you're running Photon,
and your system includes phlocale, you might be able to
download a patch from the Download Center on our website:
These patches replace the uc_tz_t file that phlocale uses to define the time zones. Once you've installed the patch, you simply have to use phlocale (Localization or Time & Date on the shelf) to change your time zone; select the appropriate zone, and phlocale does everything else. |
If you aren't running Photon, you need to set TZ or _CS_TIMEZONE. To set the time zone when you boot your machine, you have to put the same information in the /etc/TIMEZONE file.
![]() |
If you don't set either TZ or _CS_TIMEZONE, Neutrino assumes the time zone is EST5EDT, which the libraries interpret according to the old rule. |
If you manually specify the time zone, use the full specification, which is in the form (with spaces added for clarity):
std offset dst offset, rule
The complete format is as follows:
stdoffset[dst[offset][,start[/time],end[/time]]]
Its components are:
hh[:mm[:ss]]
The hour (0 <= hh <= 24) is required, but the minutes (0 <= mm <= 59) and seconds (0 <= ss <= 59) are optional. If the hour is preceded by a minus sign (-), the time zone is east of the prime meridian; otherwise it's west (which may be indicated by an optional preceding "+").
date/time,date/time
where the first date describes when the change from standard to summer time occurs, and the second date describes when the change back happens. Each time field describes when, in current local time, the change to the other time is made.
The format of date may be one of the following:
The time has the same format as offset, except that no leading sign ("+" or "-") is allowed. The default, if time is omitted, is 02:00:00.
For example, the rule for Newfoundland time, NST03:30NDT02:30,M3.2.0/00:01,M11.1.0/00:01, indicates the following:
Here are the new definitions of the US and Canadian time zones. A blank in the "As observed in" column indicates the general case.
| Time zone: | As observed in: | Definition: |
|---|---|---|
| Newfoundland | NST03:30NDT02:30,M3.2.0/00:01,M11.1.0/00:01 | |
| Atlantic | AST04ADT03,M3.2.0/2,M11.1.0/2 | |
| Eastern | EST05EDT04,M3.2.0/2,M11.1.0/2 | |
| Central | CST06CDT05,M3.2.0/2,M11.1.0/2 | |
| Saskatchewan | CST06 | |
| Mountain | MST07MDT06,M3.2.0/2,M11.1.0/2 | |
| Arizona (non-Navajo region) | MST07 | |
| Pacific | PST08PDT07,M3.2.0/2,M11.1.0/2 | |
| Alaska | AKST09AKDT08,M3.2.0/2,M11.1.0/2 | |
| Hawaii-Aleutian | Hawaii | HST10 |
| Aleutian islands | HST10HDT09,M3.2.0/2,M11.1.0/2 |
© 2007, QNX Software Systems GmbH & Co. KG. All rights reserved.
Published under license by:
QNX Software Systems International CorporationQNX, Neutrino, Photon, Photon microGUI, Momentics, and "Build a More Reliable World" are trademarks, registered in certain jurisdictions, of QNX Software Systems GmbH & Co. KG and are used under license by QNX Software Systems International Corporation. All other trademarks belong to their respective owners.