DATE( ) Function Example

The following example displays the current system date with and without the century, and then displays a year 2000-compliant date.

CLEAR
SET CENTURY OFF
? DATE( )  && Displays today's date without the century
SET CENTURY ON
? DATE( )  && Displays today's date with the century
? DATE(1998, 02, 16)  && Displays a year 2000-compliant Date value