|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
TimeZone Element (Regional Settings)
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Defines a time zone for regional settings in TIMEZONE.XML (\\Program Files\Common Files\Microsoft Shared\web server extensions\12\CONFIG). or specifies a time zone in RGNLSTNG.XML (\\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML).
<TimeZone Hidden = "TRUE" | "FALSE" HTMLEncode = "TRUE" | "FALSE" ID = "Integer" Name = "Text"> <StandardTime> ... </StandardTime> <DaylightTime> ... </DaylightTime> <History> ... </History> </TimeZone>
Optional Boolean. TRUE to convert embedded characters so that they are displayed as text in the browser. In other words, characters that could be confused with HTML tags are converted to entities.
Required Integer. Specifies the ID for the time zone.
Required Text. Specifies the name of the time zone.
The following example from the file TIMEZONE.XML defines a time zone.
<TimeZone ID="13" Name="(GMT-08:00) Pacific Time (US and Canada); Tijuana" Hidden="FALSE"> <Bias>480</Bias> <StandardTime> <Bias>0</Bias> <Date> <Month>10</Month> <Day>5</Day> <Hour>2</Hour> </Date> </StandardTime> <DaylightTime> <Bias>-60</Bias> <Date> <Month>4</Month> <Day>1</Day> <Hour>2</Hour> </Date> </DaylightTime> </TimeZone>