Month Element

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.

The month for which an exception recurrence is scheduled.

<Month>
  IntegerValue
</Month>

Parent Elements

Exception

Occurrences

Minimum: 0

Maximum: 1

Text Value

A text value of type integer is required.

Value

Description

0

January

1

February

2

March

3

April

4

May

5

June

6

July

7

August

8

September

9

October

10

November

11

December

Example

The following example uses the Month element to indicate that the calendar exception named New Year's Day occurs in January.

<Exception>
  <EnteredByOccurrences>0</EnteredByOccurrences>
  <TimePeriod>
    <FromDate>2007-01-01T00:00:00</FromDate>
    <ToDate>2026-01-01T23:59:00</ToDate>
  </TimePeriod>
  <Occurrences>20</Occurrences>
  <Name>New Year's Day</Name>
  <Type>2</Type>
  <Month>0</Month>
  <MonthDay>1</MonthDay>
  <DayWorking>0</DayWorking>
</Exception>

See Also

Concepts

Calendar Elements and XML Structure

XML Schema for the Calendars Element