Returns the current date and time according to the setting of your computer's system date and time.
function returns the current date and time in a format such as the following:
The exact display format depends on your system configuration. Leading zeros are displayed. The year is displayed as four digits.
To return just the current date, use the Date
function. To return just the current time, use the Time
The following example uses the Now
function to return the current date and time:
MyVar = Now