Now Function

Description

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

Syntax

Now

Remarks

Note

When displayed directly, the Now function's return value is displayed as a string using the short date and time formats you specified for your system.

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    ' Get current system date and time.