Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (H-K)
Guardian Procedure Calls Reference Manual—522629-013
7-51
JULIANTIMESTAMP Procedure
JULIANTIMESTAMP Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Example
Related Programming Manual
Summary
The JULIANTIMESTAMP procedure returns either a four-word,
microsecond-resolution, Julian-date-based timestamp or the number of microseconds
elapsed since the last system load.
The Julian calendar is the integral number of days since January 1, 4713 B.C. The
formal definition of the Julian day states that it starts at 12:00 (noon), Greenwich mean
time (GMT).
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
retval returned value
FIXED
is a value representing the number of microseconds since 12:00 (noon) GMT
(Julian proleptic calender) January 1, 4713 B.C., unless
type = 3. To convert this
retval to a more usable form, use the INTERPRETTIMESTAMP procedure.
#include <cextdecs(JULIANTIMESTAMP)>
long long JULIANTIMESTAMP ( [ short type ]
,[ short _near *tuid ]
,[ short _near *error ]
,[ short node ] );
retval := JULIANTIMESTAMP ( [ type ] ! i
,[ tuid ] ! o
,[ error ] ! o
,[ node ] ); ! i