VBScript NowFunction


VBScript 参考手册Complete VBScript Reference

The Now function returns the current date and time according to the date and time settings of the computer system.

Syntax

Now

Example

Example (IE Only)

<script type="text/vbscript">

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

</script>

The above example outputs:

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

Try it Yourself »


VBScript 参考手册Complete VBScript Reference Other Extensions