title: How to Display the Difference Between Two Dates in laravel 4
body: <p>Hi i am creating an application using laravel, and i want to display the difference between two different dates in laravel. Imean the exact replica of date_diff used in php for eg </p>
  
  <pre><code>date_diff($date1,$date2);
  </code></pre>
  
  <p>When i try to use this in my controller it shows class/controller/datetime function cannot be used. </p>
  
  <p>I want to use this function in my controller how do i achieve this.I heard of using carbon as i am new to this i do know how to achieve this functionality by using carbon.If possible please explain with an example.</p>