VMS Help
RTL Routines, LIB$, LIB$CVT_TO_INTERNAL_TIME
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
The Convert External Time to Internal Time routine converts an
external time interval into an OpenVMS internal format delta
time.
Format
LIB$CVT_TO_INTERNAL_TIME operation ,input-time ,resultant-time
OpenVMS usage:cond_value
type: longword (unsigned)
access: write only
mechanism: by value
operation
OpenVMS usage:function_code
type: longword (unsigned)
access: read only
mechanism: by reference
The conversion to be performed. The operation argument is the
address of an unsigned longword specifying the operation. Valid
values for operation are the following:
Operation Interpretation
LIB$K_DELTA_WEEKS Whole weeks in delta time
LIB$K_DELTA_DAYS Whole days in delta time
LIB$K_DELTA_HOURS Whole hours in delta time
LIB$K_DELTA_MINUTES Whole minutes in delta time
LIB$K_DELTA_SECONDS Whole seconds in delta time
input-time
OpenVMS usage:varying_arg
type: longword (signed)
access: read only
mechanism: by reference
Delta time to be converted. The input-time argument is the
address of this input time. The value you supply for input-time
must be greater than 0.
resultant-time
OpenVMS usage:date_time
type: quadword (unsigned)
access: write only
mechanism: by reference
The OpenVMS internal format delta time that results from the
conversion. The resultant-time argument is the address of an
unsigned quadword containing the result.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.