Guardian Procedure Calls Reference Manual

JULIANTIMESTAMP Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Returned Value
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
#include <cextdecs(JULIANTIMESTAMP)>
long long JULIANTIMESTAMP ( [ short type ]
,[ short _near *tuid ]
,[ short _near *error ]
,[ short node ] );
Syntax for TAL Programmers
retval := JULIANTIMESTAMP ( [ type ] ! i
,[ tuid ] ! o
,[ error ] ! o
,[ node ] ); ! i
Parameters
type
input
INT:value
is one of these values specifying the type of time requested:
Current GMT0
System-load GMT1
SYSGEN GMT2
Microseconds since system load3
If type is not supplied, then type 0 is used. If type is out of range (that is, not 0, 1, 2, or
3), then a retval of -1F and an error of -1 are returned.
JULIANTIMESTAMP Procedure 747