title: Office 365 Graph API - Greater Than Filter on Received Date
body: <p>I'm trying to perform a query on the Office 365 Graph API to say "give me all emails before {someISODateTimeString}"</p>
  
  <p>For example:</p>
  
  <pre><code>https://graph.microsoft.com/v1.0/me/messages?$filter=receivedDateTime gt 2016-02-26T14:41:08Z
  </code></pre>
  
  <p>It would seem that gt (greater than) is actually operating as greater than or equal to (ge), as the above query returns me an email which has the exact receivedDateTime value that I passed into the query.</p>
  
  <p>So I tried a workaround:</p>
  
  <pre><code>https://graph.microsoft.com/v1.0/me/messages?$filter=receivedDateTime ne 2016-02-26T14:41:08Z AND receivedDateTime ge 2016-02-26T14:41:08Z
  </code></pre>
  
  <p>This also fails to omit the email with the received date of 2016-02-26T14:41:08Z.</p>
  
  <p>Any help with how to achieve a "greater than" query on received date would be appreciated.</p>