VBScript Second 函数
2022-08-19 10:35 更新
通过使用 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()))
尝试一下 »

以上内容是否对您有帮助:
更多建议: