Second

收藏:0   阅读:43

VBScript Second 函数


Second 函数返回表示分钟的秒数的数字,介于 0 到 59 之间。

语法

Second(time)

参数 描述
time 必需的。任何表示时间的表达式。

实例

实例 1

<script type="text/vbscript">

document.write(Second("13:45:21"))

</script>

以上实例输出结果:

21


实例 2

<script type="text/vbscript">

document.write(Second(Now()))

</script>

以上实例输出结果:

document.write(Second(Now()))

© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!