Skip to content

Instantly share code, notes, and snippets.

@javierguerrero
Last active August 29, 2015 14:27
Show Gist options
  • Save javierguerrero/a5ea50f34af4d235bbee to your computer and use it in GitHub Desktop.
Save javierguerrero/a5ea50f34af4d235bbee to your computer and use it in GitHub Desktop.
CAML Query with Date Range
<Query>
<Where>
<And>
<Geq>
<FieldRef Name="StartDate" />
<Value IncludeTimeValue="TRUE" Type="DateTime">2011-01-01T15:55:52Z</Value>
</Geq>
<Leq>
<FieldRef Name="StartDate" />
<Value IncludeTimeValue="TRUE" Type="DateTime">2011-12-31T15:56:29Z</Value>
</Leq>
</And>
</Where>
</Query>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment