title: How to query timestamp set as long in Gemfire?
body: <pre><code>public class Employee {
     private String name; 
     private long timestamp; 
  }
  </code></pre>
  <p>timestamp is saved in long format. When converted it will be 2021-11-19T21:00:37.353+0000</p>
  <p>User inputs just 2021-11-19, how can we query ignoring time/timezone and what is the correct way to query date?</p>
  <p><strong>Gemfire query</strong></p>
  <pre><code>select * from /employee where to_date(timestamp) = to date(2021-21-19)
  
  Error -&gt; Query is invalid due to error - Syntax error in query - unexpected token-timestamp
  </code></pre>