Hour to Minutes 00:00 to 00 javascript
<p>I need to convert hours:minutes (00:00) to minutes 00 in Javascript. </p>

<p>I thought about doing it by using substr to get hour and minutes separately and then multiply the hours part by 60 and then add the minutes part.</p>

<p>Is there any other easy way to do this?</p>
