I want to subtract the two different 24 hours time format.
I had tried with following :
var startingTimeValue = 04:40; var endTimeValue = 00:55; var
This works better , A fiddle I just found
var difference = Math.abs(toSeconds(a) - toSeconds(b));
fiddle