Now Function

Description

Returns the current date and time according to the setting of your computer’s system date and time.

Syntax

Now

See Also

Date Function, Date Statement, Day Function, Hour Function, Minute Function, Month Function, Second Function, Time Function, Time Statement, Weekday Function, Year Function.

Example

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


Today = Now            ' Assign current system date and time.

You can use the Now function in a calculated control to return the current system date and time. For example, you can create a text box and set its ControlSource property to the following expression.


= Now()