js秒换成天时分 function timeStamp( second_time ){ var time = parseInt(second_time) + "秒"; if( parseInt(second_time )> 60){ var second = parseInt(second_time) % 60; var min = parseInt(second_time / 60); time = min + "分" + second + "秒&
// 时间转为毫秒 timeToSec(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 * 1000 } // 将秒转化成时分秒 secTotime(s) { var t if(s > -1){ var hour = Math.flo