Get(CurrentDate)

Returns the current date according to the system calendar.

Format 

Get ( CurrentDate )

Parameters 

None

Data type returned 

date

Originated in version 

6.0 or earlier

Description 

The format of the result of this function varies based on the date format that was in use when the database file was created. In the United States, dates are generally in the format MM/DD/YYYY. You can change the date and time formats in your operating system.

If the result is displayed in a field, it is formatted according to the date format of the field in the current layout.

Example 1 

Returns 2/2/2019 when the system date is set to February 2, 2019.

Get ( CurrentDate ) - Date ( 1 ; 5 ; 2019 ) returns 4 when the system date is set to January 9, 2019.

For an example script, see Exit Application script step.