time difference count in javascript
<p>Does anyone how can I do a time difference count in Javascript?</p>

<p>Example:</p>

<p>If I have the following time (24H format)</p>

<pre><code>startTime = 0615
endTime = 1530
breakTime = 0030
</code></pre>

<p>how can I get the following output?</p>

<pre><code>diffB4Break = 7.15 hours
afterBreak = 6.45 hours
</code></pre>
