I have a DateTime property in the data returned by a service that looks like
\"SDateTime\":\"2014-06-29T03:30:00.000\".
I need to write a query to get
In OData V4 date filtering format has changed, the correct filter will be
$filter=SDateTime gt 2014-06-23T03:30:00.000Z and SDateTime lt 2014-06-26T03:30:00.000Z
For example
http://services.odata.org/V4/OData/OData.svc/Products?%24filter=ReleaseDate%20gt%201995-09-01T00:00:00Z%20and%20ReleaseDate%20lt%201995-12-01T00:00:00Z
For previous versions of OData see previous answer