System Date and Time

The following functions and statements set or return the system date and time.

Date Statement

Returns the current system date as a string, or resets the date. The date format depends on your local system settings.

Now Function

Returns the current system date and time as a Date value.

Time Statement

This function returns the current system time as a string in the format "HH:MM:SS".

Timer Function

Returns a value that specifies the number of seconds that have elapsed since midnight.