Guardian Procedure Calls Reference Manual
TIMESTAMP Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameter
Considerations
Example
Related Programming Manual
Summary
The TIMESTAMP procedure provides the internal form of the processor interval clock where the
application is running.
Syntax for C Programmers
#include <cextdecs(TIMESTAMP)>
void TIMESTAMP ( short _near *interval-clock );
Syntax for TAL Programmers
CALL TIMESTAMP ( interval-clock ); ! o
Parameter
interval-clock
output
INT:ref:3
returns the current value of the interval clock in a three-word array. A processor's interval clock
is incremented every 0.01 second. The interval-clock parameter returns in this form:
most significant word, interval clock[0]
interval clock[1]
least significant word, interval clock[2]
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.
• A 64-bit Julian timestamp is based on the Julian date. It is a quantity equal to the number of
microseconds since January 1, 4713 B.C., 12:00 (noon) Greenwich mean time (Julian proleptic
calendar). This timestamp can represent either Greenwich mean time, local standard time, or
1424 Guardian Procedure Calls (T-V)