Share via


Month Element

The Month element contains an integer representing the month in which standard time or daylight time begins for a time zone; if the element is empty, it returns the current month.

Syntax

<Month>
</Month>

Example

The following example queries for cases where recurring events transpire within the current month represented in a calendar view.

<Query>
   <Where>
      <DateRangesOverlap>
         <FieldRef Name="EventDate" />
         <FieldRef Name="EndDate" />
         <FieldRef Name="RecurrenceID" />
         <Value Type="DateTime">
            <Month />
         </Value>
      </DateRangesOverlap>
   </Where>
</Query>

Example

The following example from the file TIMEZONE.XML specifies the date and time on which daylight time begins for a time zone.

<DaylightTime>
   <Bias>-60</Bias>
   <Date>
      <Month>3</Month>
      <Day>1</Day>
      <Hour>2</Hour>
   </Date>
</DaylightTime>