TUTORIALProgrammingFETCHED
VBScript Now 函数
VBScript Now 函数 完整的 VBScript 参考手册 Now 函数根据计算机系统的日期和时间设置返回当前的日期和时间。 语法 Now 实例 实例(仅适用于 IE) <script type='text/vbscript'> document.write('The current system date and time is: ')..
Updated 7/16/2026
Tutorial detail pages default to noindex.
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)
</script>
以上实例输出结果:
document.write("The current system date and time is: ")
document.write(Now)
尝试一下 »
完整的 VBScript 参考手册