VBScript DateFunction


VBScript 参考手册Complete VBScript Reference

The Date function returns the current system date.

Syntax

Date


Example

Example (IE Only)

<script type="text/vbscript">

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

</script>

The output of the above example is:

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

Try it yourself »

VBScript 参考手册Complete VBScript Reference Other Extensions