VBScript Second 函数

Second 函数返回表示分钟的秒数的数字,介于 0 到 59 之间。
语法
Second(time)
参数 | 描述 |
---|---|
time | 必需的。任何表示时间的表达式。 |
实例
实例 2
<script type="text/vbscript">
document.write(Second(Now()))
</script>
document.write(Second(Now()))
</script>
以上实例输出结果:
document.write(Second(Now()))
尝试一下 »

点我分享笔记