This documentation is archived and is not being maintained.

DateRangesOverlap Element (Query)

Windows SharePoint Services 3

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.

Used in queries to compare the dates in a recurring event with a specified DateTime value, to determine whether they overlap.

  <FieldRef Name = "Field_Name"/>
  <Value Type = "Field_Type"/>
  <XML />





Minimum: 0

Maximum: Unbounded

The following example compares the event date and end date of a recurring event with the current date and time.

         <FieldRef Name="EventDate"></FieldRef>
         <FieldRef Name="EndDate"></FieldRef>
         <FieldRef Name="RecurrenceID"></FieldRef>
         <Value Type="DateTime">