DATE


General Forms :

     DATE


The DATE function is used to return the current system date in the local timezone. The date is returned as an alpha value in the format "YYMMDD". The DATE function is valid wherever an alpha expression is legal.

Note that use of this function should be avoided, as it does not return century information. The #DATE, CONVERT DATE and $TODAY instructions should be used when dealing with dates as these all cope with century information.

The $TODAY function is used to return today’s date including the current century.

Syntax example:

now$ = DATE & TIME

See also:

CONVERT DATE, #DATE, $TIME, TIME, $TODAY