Microsoft® Visual Basic® Scripting Edition Now Function |
Language Reference Version 1
|
Returns the current date and time according to the setting of your computer's system date and time.
Now
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.