title: Eloquent: get only the date from timestamp
body: <p>I want to get all the entries of a specific day for a user.. I don't know how to format the query.</p>
  
  <pre><code>public function getEntry()
  {
      $entries = Journal::where('id', '=', Auth::id())
      -&gt;where('created_at', '=', '\Carbon\Carbon::now()-&gt;format("l j F Y")')
      -&gt;get()-&gt;first();
      return view('home')-&gt;with(compact('entries'));
  }
  </code></pre>
  
  <p>I do not know how to format that 'created_at' to match the server time. Any help will be largely appreciated. Thank You.</p>