Partager via


Bias 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.

Contains the bias, in minutes, that a time zone differs from Coordinated Universal Time (UTC), or the bias, in minutes, that standard time or daylight saving time for a time zone differs from UTC. Used in TIMEZONE.XML (\\Program Files\Common Files\Microsoft Shared\web server extensions\12\CONFIG).

<Bias>
</Bias>

Attributes

Attribute

Description

None

N/A

Child Elements

None

Parent Elements

DaylightTime, History, StandardTime, TimeZone

Occurrences

Minimum: 0

Maximum: 1

Example

The following example from the file TIMEZONE.XML uses the Bias element to define 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>