secondToDate(result) {
var h =
Math.floor(result / 3600) < 10
? "0" + Math.floor(result / 3600)
: Math.floor(result / 3600);
var m =
Math.floor((result / 60) % 60) < 10
? "0" + Math.floor((result / 60) % 60)
: Math.floor((result / 60) % 60);
var s =
Math.floor(result % 60) < 10
? "0" + Math.floor(result % 60)
: Math.floor(result % 60);
return (result = h + ":" + m + ":" + s);
}
numTime(time) {
var hour = time.split(":")[0];
var min = time.split(":")[1];
var sec = time.split(":")[2];
var s = Number(hour * 3600) + Number(min * 60) + Number(sec);
return s;
},