HP 3000 Manuals

<DATE> [ HP DeskManager Customization ] MPE/iX 5.0 Documentation


HP DeskManager Customization

<DATE> 

Syntax 

<DATE [offset] >

where:

offset                numeric value in the range -32768 to 32767

Description 

<DATE> returns an unquoted string representing the current date in the
date format configured for the system (either DMY or MDY). The offset is
an optional offset of the number of days from today for which the date
string should be returned.

See also:  <TIME>.

Example 

     &PRINT <DATE -6>

On 30th November 1992, this would print:

     24/11/92

if your system is configured to use European date format, and:

     11/24/92

if your system is configured to use American date format.



MPE/iX 5.0 Documentation