秒转时间

<!Doctype html>
<html>
<head>
    <title></title>
    <meta charset="utf-8" />
    <script>
    var s = 234;
        alert(parseInt(s/60)+'分'+s%60+'秒')
    </script>
</head>
<body>
</body>
</html>  
发布了15 篇原创文章 · 获赞 26 · 访问量 7678

猜你喜欢

转载自blog.csdn.net/Big_eyes123/article/details/89219952