title: Firestore query with timestamp
body: <p>I am able to fetch the data using where condition if it's a text field but when I am trying to do the same with timestamp field and date things are not working.</p>
  
  <p>Here is my code:</p>
  
  <p><code>home.ts</code></p>
  
  <pre><code>firebase.firestore().collection("cities").where("timestamp", "&gt;", "3/24/2020")
      .onSnapshot(function(querySnapshot) {
          var cities = [];
          querySnapshot.forEach(function(doc) {
              cities.push(doc.data().name);
          });
          console.log("Timestamp greather than 3/24/2020 -- ", cities.join(", "));
      });
  </code></pre>
  
  <p>Everything works fine with <code>firebase.firestore().collection("cities").where("state", "==", "CA")</code> but not working with <code>date</code>.</p>
  
  <p>Screenshot of fire storage:</p>
  
  <p><a href="https://i.stack.imgur.com/LReIV.png" rel="noreferrer"><img src="https://i.stack.imgur.com/LReIV.png" alt="enter image description here"></a></p>
  
  <p>Note: <code>JLD</code> doc should be returned in console because its <code>timestamp</code> value is greater than <code>3/24/2020</code></p>
  
  <h2>Edit 1</h2>
  
  <p>As guided by @alex now I am doing like this</p>
  
  <p><code>let start = new Date('2020-03-25');</code>
  <code>firebase.firestore().collection("cities").where("timestamp", "&gt;", start)</code></p>
  
  <p>but it is including the data of <code>2020-03-25</code> when I am using <code>&gt;</code>, why ?</p>