function formatSeconds(value) {
var theTime = parseInt(값);//초
var theTime1 = 0;//분
var theTime2 = 0;//시간
//alert(theTime)
if(theTime > 60) {
theTime1 = parInt(theTime/60);
theTime = parsInt(theTime`)
// Alert(theTime1 "-" theTime)
if(theTime1 > 60); 🎜>theTime2 =parseInt(theTime1/60);
theTime1 =parseInt(theTime1`);
}
}
var result = ""parseInt(theTime) "초"; (theTime1 > 0) {
result = ""parseInt(theTime1) "분" 결과
}
if(theTime2 > 0) {
result = ""parseInt(theTime2) " hour" 결과 ;
}
결과 반환;
}