find the total hours in PHP by using two date
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4421076/phpfind-day-difference-between-two-dateymdhis-reture">PHP:find day difference between two date(&ldquo;YmdHis&rdquo;) reture</a>  </p>
</blockquote>



<p>I have two dates </p>

<pre><code>$departure_Dtae=2012-07-25T07:30:00
     $arrival_date =2012-07-25T10:25:00
</code></pre>

<p>T means Time i.e. in <code>2012-07-25T10:25:00</code> date is <code>2012-07-25</code> and the time is <code>10:25:00</code> (hr: mts: s)</p>

<p>I need to find out the total hrs between these two times
I.e. in this case the total hour is 2 hr and 55 minutes 
But I don't know how I calculate this in PHP 
Does anyone know this?</p>
