HP 3000 Manuals

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


HP DeskManager Customization

<TIME> 

Syntax 

<TIME [hours] [minutes] >

where:

hours                 numeric value in the range -32768 to 32767
minutes               numeric value in the range 1 to 60

Description 

<TIME> returns the current time as a four digits unquoted string,
optionally offset by the given number of hours or minutes.  The hours and
minutes should be separated by a space.  The hours parameter represents
an optional offset for the number of hours from the current hour for
which the time string should be returned.  Similarly,  minutes represents
an optional offset for the number of minutes from the current minute for
which the time string should be returned.

See also:  <DATE>.

Example 

     &PRINT <TIME 13>

If this command is processed at 1400, it will print 0300.

If you want to offset a time by minutes rather than hours, replace the
hours parameter by zero (0) for hours.

     &PRINT <TIME 0 10>



MPE/iX 5.0 Documentation