$DateP

From m204wiki
(Redirected from $DATEP)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The $DateP function returns a 9-character or 11-character string equal to the current date in either "dd mon yy" format (for example, 04 AUG 91) or "dd mon yyyy" format (for example, 04 AUG 1991). The default is 9 characters.

Syntax

The format for $DateP is:

$DateP[(year-format)]

where year-format is optional and can be:

0 The default; indicates that $DateP returns a 9-character string equal to the current date in the DD MON YY format.
1 Indicates that $DateP returns an 11-character string equal to the current date in the DD MON YYYY format.

If Model 204 encounters an error, the function returns all asterisks (*).

See also Overview of $Date functions.

Example

BEGIN SET HEADER 1 'TRIAL BALANCE' WITH $DATEP AT COLUMN 30 NEW PAGE . . .