Expand Minimize

Now Function

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

Returns a Variant (Date) specifying the current date and time according your computer's system date and time.

Syntax

Now

This example uses the Now function to return the current system date and time.

Dim Today
Today = Now    ' Assign current system date and time.


Community Additions

ADD
Show:
© 2014 Microsoft