MPE/iX Intrinsics Reference Manual (32650-90875)

224 Chapter6
Command Definitions (FLUSHLOG-GETUSERMODE)
FMTCLOCK
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
none