title: MongoDb Date query with php doesn't work
body: <p>I'm trying to get today's data from mongodb.</p>
  
  <p>Here is a sample document:</p>
  
  <pre><code>{
     "_id": ObjectId("586a284a1f815b55608b456b"),
     "timestamp": "02/01/2017 03:45:36",
     "data": "29",
     "lat": "not available",
     "time": ISODate("2017-01-02T10:15:38.57Z") 
  }
  </code></pre>
  
  <p>And here is the PHP code:</p>
  
  <pre><code>$query = array('time'=&gt;array ('$gte'=&gt;new mongoDate()));
  $str = $collection-&gt;find($query);
  foreach($str as $doc)
  print_r($doc);
  </code></pre>
  
  <p>What am I doing wrong? I'm getting empty output.</p>