title: OData: Date "Greater Than" filter
body: <p>Is there a way to return a series of records in OData by specifying a &quot;Date greater than xxxxx&quot; filter...but using a Date that was previously obtained form an OData feed?</p>
  <p><strong>Use Case:</strong> Pretend that I want to build a web page that displays a list of the most recently completed online orders. This is what I'm aiming for:</p>
  <ol>
  <li>Load the page</li>
  <li>Hit my OData service asynchronously, returning the last 100 orders (ordering by date descending so that the most recently completed order shows up first)</li>
  <li>Build the HTML on the page using the OData data</li>
  <li>Store the MAX date into a global variable (looks like this: <code>/Date(1338336000000)/</code>)</li>
  <li>Hit the OData service on a 30 second interval but this time specify a filter to only return records where the order date is greater than the previous MAX Date. In this case: <code>/Date(1338336000000)/</code></li>
  <li>If any records are returned, build the HTML for those records and prepend the items to the previously loaded items.</li>
  </ol>
  <p>Where I am struggling is in specifying the Date &quot;greater than&quot; filter. For some reason, the date filters in OData do not seem to play very nice with OData's own native date format. Do I need to convert the date originally obtained into a different format that can be used for filtering?</p>
  <p>I want to do something like this:</p>
  <pre><code>http://mydomain/Services/v001.svc/Orders?$filter=close_dt%20gt%201338336000000
  </code></pre>
  <p>FYI: I'm using V2</p>