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



<pre>
date1=2010-11-10 09:49:54;
date2=2010-11-10 09:49:54;
</pre>

<p>How do I get difference between these two dates in PHP?</p>
