Partager via


Bias Element

The Bias element contains the bias in the number of minutes that a time zone differs from Coordinated Universal Time or the bias in the number of minutes that standard time or daylight time for a time zone differs from Coordinated Universal Time (UTC).

Syntax

<Bias>
</Bias>

Element Relationships

Parent Elements
DaylightTime, StandardTime, TimeZone

Example

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>