Now Function

Syntax

Now

Group

Time/Date

Description

Return the current date and time as a Date value.

Example


Sub Main
    Debug.Print Now ' example: 1/1/1995 10:05:32 AM
End Sub

See also

Date, Time, Timer