Now

收藏:0   阅读:27

VBScript Now 函数


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)

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