FMTCLOCK [ MPE/iX Intrinsics Reference Manual ] MPE/iX 5.0 Documentation
MPE/iX Intrinsics Reference Manual
FMTCLOCK
NM and CM callable.
Passes the time of day, in the same format as the CLOCK intrinsic, and
returns it in the following format:
12:39 AM
Syntax
_____________________________________
| |
| I32V CA |
| FMTCLOCK(time,formattime); |
_____________________________________
Parameters
time 32-bit signed integer by value (required)
Returns the time of day in the same format as the
CLOCK intrinsic:
Bits Value/Meaning
24:8 Tenths of seconds
16:8 Seconds
8:8 Minute of hour
0:8 Hour of day
formattime character array (required)
Returns the formatted time of day in an 8-character
array. If the hour is a single digit (prior to
10:00), the array contains a leading blank as
follows:
7:39 AM
Operation Notes
If invalid input values are supplied, the output values returned are
unpredictable; an error status is not returned.
Related Information
Intrinsics None
Commands None
Manuals None
MPE/iX 5.0 Documentation