HPlogo 900 Series HP 3000 Computer Systems: MPE/iX Intrinsics Reference Manual > Chapter 4 Command Definitions

FMTCLOCK

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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:

BitsValue/Meaning
24:8Tenths of seconds
16:8Seconds
8:8Minute of hour
0:8Hour 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

Feedback to webmaster