VBScript Date Function

The Date function returns the current system date.

Syntax

Date

Example 1

document.write("The current system date is: ")
document.write(Date)
Output:
The current system date is: 1/14/2002

Leave a Reply