Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
General Reference
Reference
 TimeZone Element
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
TimeZone Element (Regional Settings)

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>
Attribute Description

Hidden

Optional Boolean.

HTMLEncode

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.

ID

Required Integer. Specifies the ID for the time zone.

Name

Required Text. Specifies the name of the time zone.

Minimum: 0

Maximum: Unbounded

Outside the context of RGNLSTNG.XML or TIMEZONE.XML, use an empty TimeZone element to return the current time zone.

The following example from the file TIMEZONE.XML defines a time zone.

Xml
<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>
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker