title: Date Difference in php on days?
body: <p>Is there a quick way to calculate date difference in php? For example:</p>
  
  <pre><code>$date1 = '2009-11-12 12:09:08';
  $date2 = '2009-12-01 08:20:11';
  </code></pre>
  
  <p>And then do a calculation, $date2 minus $date1</p>
  
  <p>I read php.net documentation, but no luck. Is there a quick way to do it?</p>