What are the pitfalls in the approach to calculate time diff
<p>I wish to calculate the difference b/w 2 times in min:sec format . so is my approch correct </p>

<pre><code>date("i:s",(strtotime($User['end_time']) - strtotime($User['start_time'])));
</code></pre>
