HPlogo 900 Series HP 3000 Computer Systems: MPE/iX Architected Interface Facility: Operating System Reference Manual > Chapter 3 Architected Interface Descriptions

AIFTIME

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

Converts ticks or microseconds to a meaningful time such as date time, clock time, or a string format.

Syntax

               REC        REC     REC    REC

AIFTIME (overall_status, ticks, microsecs, clock,

          REC    REC     I32        REC 

         date, date_str, user_id, ticks_since_1970, 

                REC 

         microsecs_since_1970);

Parameters

overall_status

record by reference (required)

Returns the overall status of the call. A zero indicates a successful call. A negative value indicates an error in the overall call. A positive value indicates a warning. Refer to appendix A for meanings of status values.

Record type: status_type (Refer to appendix B.)

ticks

record by reference (optional)

Passes a value, representing the ticks since 1970, that is to be converted to a meaningful time. If neither ticks nor microsecs is passed, the current time is assumed.

Record type: longint_type (Refer to appendix B.)

microsecs

record by reference (optional)

Passes a value, representing the microseconds since 1970, that is to be converted to a meaningful time. If neither ticks nor microsecs is passed, the current time is assumed.

Record type: longint_type (Refer to appendix B.)

clock

record by reference (optional)

Returns the time in hours, minutes, seconds, and tenths of seconds.

Record type: clock_type (Refer to appendix B.)

date

record by reference (optional)

Returns the time in year, month, and day of month.

Record type: date_type (Refer to appendix B.)

date_str

record by reference (optional)

Returns the time in string format for month and day of the week. Record type: datestr_type (Refer to appendix B.)

user_id

32-bit signed integer by value (optional)

The user ID assigned to a vendor at the time of purchase of the Architected Interface Facility: Operating System product. If it is not passed, the caller must have previously called AIFACCESSON.

Default: 0

tics_since_1970

record by reference (optional)

Returns a value representing the current ticks since 1970.

Record type: longint_type (Refer to appendix B.)

microsecs_since_1970

record by reference (optional)

Returns a value representing the current microseconds since 1970.

Record type: longint_type (Refer to appendix B.)

Operation Notes

None.

Feedback to webmaster