本页内容
上一节: Func_monthname 下一节: Func_second

VBScript Now 函数

完整的 VBScript 参考手册

Now 函数根据计算机系统的日期和时间设置返回当前的日期和时间。

语法


Now

实例(仅适用于 IE)

示例

<script type="text/vbscript">

document.write("The current system date and time is: ")

document.write(Now)

</script>

以上实例输出结果:


示例

document.write("The current system date and time is: ")
document.write(Now)

完整的 VBScript 参考手册

上一节: Func_monthname 下一节: Func_second
此页面最后编辑于2022年8月17日 (星期三) 17:57。