0

I have a SharePoint list. It has two columns Start date and End date. I need to query and get data if (start date + 7 days> End date). Through CAML builder its not possible to have a SharePoint column on value node and build the query. Any idea? I have tried below. But not working.

<Query>
   <Where>
      <Eq>
         <FieldRef Name='EndDate' />
         <Value IncludeTimeValue='TRUE' Type='DateTime'><StartDate+7/></Value>
      </Eq>
   </Where>
</Query>
Sivakumar Piratheeban
  • 2,120
  • 9
  • 40
  • 67

1 Answers1

1

This question is similar to a question asked earlier here.

You can use Offset

Please check this link.

Varun Verma
  • 1,767
  • 3
  • 17
  • 30