|
復(fù)制代碼 代碼如下:
intTotalSecs = 15438
intHours = intTotalSecs / 3600
intMinutes = (intTotalSecs Mod 3600) / 60
intSeconds = intTotalSecs Mod 60
WScript.Echo "Hours: " & intHours
WScript.Echo "Minutes: " & intMinutes
WScript.Echo "Seconds: " & intSeconds
JavaScript技術(shù):Convert Seconds To Hours,轉(zhuǎn)載需保留來(lái)源!
鄭重聲明:本文版權(quán)歸原作者所有,轉(zhuǎn)載文章僅為傳播更多信息之目的,如作者信息標(biāo)記有誤,請(qǐng)第一時(shí)間聯(lián)系我們修改或刪除,多謝。