Date Function

From Visual Basic Scripting

Microsoft® Visual Basic® Scripting Edition Date Function  Language Reference 
Version 1 


Description

Returns the current system date.

Syntax

Date

Remarks

The following example uses the Date function to return the current system date:
Dim MyDate
MyDate = Date    ' MyDate contains the current system date.