converts time in seconds to hours, minutes, and seconds
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
如对本文有疑问,
点击进行留言回复!!
相关文章:
-
-
Vue的响应式原理
受现代JavaScript 的限制 (以及废弃 Object.observe),Vue不能检测到对象属性的添加或...
[阅读全文]
-
-
-
-
-
-
-
-
-
网友评论