title: Laravel search for records 7 days old only
body: <p>i am trying to pull records that are 7 days old only , not older or earlier.
  But its not working, i'm using Carbon.</p>
  
  <pre><code>-&gt;where(DB::raw('date(AppDate)'), Carbon::now()-&gt;subDays(7))
  </code></pre>