Hi,
I want to add 2 numbers and convert into time format
following code returns float as correct
if (headertext == 2500)
{
var name = $(this).text();
totalHr += parseFloat(name.replace(":", "."));
}
my requirement is result should be in time format
example datas are 08:55 and 09:55
result should be 18:50 not 18.10
how to solve this