title: carbon compare date check if date day is equal to current day
body: <p>I want to compare if the post date day is equal to the current day. But below example is not working. Do you know why? The date column is of "datetime" type.</p>
  
  <pre><code>$post= Post::Query();
  …
  elseif($range == "week") {
      $post= $post-&gt;where('date', &lt;', Carbon::now()-&gt;addDays(7));
  }
  elseif($range == "day") {
      $post= $post-&gt;where('date', '=', Carbon::today());
  }
  ....
  </code></pre>
  
  <p>When the user selects the current day in the select menu, no results appear, but select week works.</p>