$DateP: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
m (Mlarocca moved page $DATEP to $DateP: Lower case change)
(No difference)

Revision as of 13:05, 17 July 2014

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 . . .