title: Calculate difference between two dates using Carbon and Blade
body: <p>Does anyone know how to pass a given variable instead the Carbon's default parameters ?</p>
  
  <p>The documentation of Carbon says:</p>
  
  <pre><code>// CARBON SAMPLE
  
  $dtToronto = Carbon::createFromDate(2012, 1, 1, 'America/Toronto');
  $dtVancouver = Carbon::createFromDate(2012, 1, 1, 'America/Vancouver');
  echo $dtVancouver-&gt;diffInHours($dtToronto); // 3
  </code></pre>
  
  <p>And i want to do something like this in my controller:</p>
  
  <pre><code>  // EXAMPLE
  
    $date = "2016-09-16 11:00:00";
    $datework = Carbon::createFromDate($date);
    $now = Carbon::now();
    $testdate = $datework-&gt;diffInDays($now);
  </code></pre>
  
  <p>And retrieving that on a Blade template</p>
  
  <pre><code>  // VIEW ON BLADE
  
    &lt;td&gt; {{ $testdate }} &lt;/td&gt;
  </code></pre>