Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual522629-013
3-125
CONTIME Procedure
[6] 0.01 second (0-99)
t0, t1, t2 input
INT:value:3
is an array that must correspond to the 48 bits of a timestamp for the results of
CONTIME to have any meaning (
t0 is the most significant word; t2 is the least
significant).
Considerations
A 48-bit timestamp is a quantity equal to the number of 10 millisecond units since
00:00, 31 December 1974. The 48-bit timestamp always represents local civil
time.
Procedures that work with the 48-bit timestamp are CONTIME, TIME, and
TIMESTAMP.
For a more complete description of 48-bit and 64-bit timestamps, refer to
TIMESTAMP or JULIANTIMESTAMP.
Example
CALL CONTIME( DATE^TIME , LAST^T , LAST^T[1] , LAST^T[2] );
!conversion to date and time
CONTIME is used to convert the three words in LAST^T to a date and time.
DATE^TIME returns seven words of date and time.
Related Programming Manual
For programming information about the CONTIME utility procedure, refer to the
Guardian Programmer’s Guide.
t0
most significant word, interval
clock
t1
interval clock
t2
least significant word, interval
clock