DATE

Returns a date with the given attributes.

Return Value

Date/Time

Syntax

DATE( year, month, day )

OR

DATE( year, month, day, hour, minute, second, millisecond )

where:

You must use one of the two syntax models; otherwise, the system returns an error.