The below query returns the entirety of the List, instead of those which fall inside the correct date range.
I have tried querying with and without a time added to the date.
CamlQuery CamlQuery = new CamlQuery(); var qs = "<Query>" + " <Where>" + " <And>" + " <Geq>" + " <FieldRef Name='Created' />" + " <Value IncludeTimeValue='True' Type='DateTime'>2017-08-30T00:00:00Z</Value>" + " </Geq>" + " <Leq>" + " <FieldRef Name='Created' />" + " <Value IncludeTimeValue='True' Type='DateTime'>2017-08-31T23:59:00Z</Value>" + " </Leq>" + " </And>" + " </Where>" + "</Query>"; CamlQuery.ViewXml = qs;