DATE()

Advantage Concepts

Advantage Expression Engine function that returns the system date as a date value

Syntax

DATE() à dSystem

Return Values

DATE() returns the system date as a date value.

Remarks

DATE() is a date function that provides a means of initializing memory variables to the current date, comparing other date values to the current date, and performing date arithmetic relative to the current date.

The display format for dates is controlled by the function to set the date format. The default format is mm/dd/yy.

Note Advantage Expression Engine functions can be used in expressions such as record filter expressions and index expressions. They are not necessarily scalars supported within SQL statements. For a list of supported SQL scalar functions, see Supported Scalar Functions.

See Also

CTOD()

DTOC()

DTOS()

NOW()

STOD()

STOTS()

TSTOD()

Advantage TDataSet Descendant

TAdsSettings.DateFormat

Advantage Client Engine API

AdsSetDateFormat