Now Function

Office VBScript

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


Description
Returns the current date and time according to the setting of your computer's system date and time.
Syntax
Now
Remarks
The following example uses the Now function to return the current date and time:
Dim MyVar
MyVar = Now ' MyVar contains the current date and time.