title: Retrive records where updated_at is older than created_at with 2 hours in Laravel (eloquent)
body: <p>I want to count records where updated_at is 2 hours older than created_at. </p>
  
  <h2>Code</h2>
  
  <pre><code>$teLang = $kentekens-&gt;where('updated_at', '&gt;', 'created_at'-&gt;subHours(2));
  </code></pre>
  
  <p>Unfortunately this doesn't work because subHours(2) is for carbon but hopefully you get the idea.</p>
  
  <h2>View</h2>
  
  <pre><code>&lt;h1&gt;{{ $teLang-&gt;count() }}&lt;/h1&gt;
  </code></pre>
  
  <h2>Controller</h2>
  
  <pre><code>public function create() {
          $kentekens = Kenteken::latest()
              -&gt;where('created_at', '&gt;=', Carbon::today())
              -&gt;get();
  
          $teLang = $kentekens-&gt;where('updated_at', '&gt;', 'created_at'-&gt;subHours(2));
  
          return view('layouts.dashboard', compact('kentekens', 'teLang'));
      }
  </code></pre>
  
  <p>anyone know how?</p>