Now Function

Returns the current system date and time as a Date value.

Syntax:

Now

Return value:

Date

Example:

Sub ExampleNow

    MsgBox "It is now " & Now

End Sub