How to get date diffrence
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/676824/how-to-calculate-the-difference-between-two-dates-using-php">How to calculate the difference between two dates using PHP?</a>  </p>
</blockquote>



<p>I want to get difference: days, hour, min and seconds from these two dates  </p>

<p><code>2011-08-17 15:23:24</code> and <code>2011-08-11 14:00:11</code> in php.</p>

<p>Anyone can you help me?
Thanks in advance.</p>
