Now Function
Returns the current date and time according to the setting of your computer's system date and time.
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.