DATE

This function return the current system date.

DATE()


PARAMETERS

NONE

Example:
To automatically store the current date in your InvoiceDate field whenever a new record is added, add the following code to your forms ON ADD event: (Note: assumes you have bound you’re the InvoiceDate field to a textbox with TAG name of InvoiceDate)

SETVALUE(~InvoiceDate~//DATE())