title: mongodb aggregation match date
body: <p>I have data like </p>
  
  <pre><code>{
      "_id" : ObjectId("5b63e593f033ab66fa25a142"),
      "percent_change_1h" : 0.37,
      "percent_change_24h" : -3.91,
      "percent_change_7d" : -7.08,
      "last_updated" : 1533273443,
      "created_at" : "2018-08-03 05:18:11",
      "updated_at" : "2018-08-03 05:18:11"
  }
  </code></pre>
  
  <p>its have created_at date like this "2018-08-03 05:18:11"
  but i can pass date in aggregation function like "2018-08-03" 
  data not get in this match </p>
  
  <p>I can not use $gte or $lte becouse get only given date data 
  query is here </p>
  
  <pre><code>$date = "2018-08-15";
  
  $filters = ['$match'=&gt;[
      'quotes'=&gt;$quotes,
      'created_at' =&gt; $date]
  ];
  
  $join = ['$lookup'=&gt;[
      'from' =&gt; "cryptocurrencies_list", 
      'localField'=&gt; "crypto_list_id",
      'foreignField'=&gt; "_id",
      'as'=&gt;"listdata"]
  ];
  
  $limits = ['$limit'=&gt;10];
  $query = $detailscollection-&gt;aggregate([$filters,$join,$limits]);
  </code></pre>