Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (C)
Guardian Procedure Calls Reference Manual—522629-013
3-92
COMPUTETIMESTAMP Procedure
COMPUTETIMESTAMP Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Related Programming Manual
Summary
The COMPUTETIMESTAMP procedure converts a Gregorian (common civil calendar)
date and time into a 64-bit Julian timestamp.
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
ret-timestamp returned value
FIXED
returns a 64-bit Julian timestamp, computed from
date-n-time.
date-n-time input
INT:ref:8
is an array containing a date and time of day. The
date-n-time array has the
following form:
[0] the Gregorian year (for example, 1984, 1985, ...)
[1] the Gregorian month (1-12)
[2] the Gregorian day of the month (1-31)
[3] the hour of the day (0-23)
[4] the minute of the hour (0-59)
[5] the second of the minute (0-59)
[6] the millisecond of the second (0-999)
[7] the microsecond of the millisecond (0-999)
#include <cextdecs(COMPUTETIMESTAMP)>
long long COMPUTETIMESTAMP ( short _near *date-n-time
,[ short _near *errormask ] );
ret-timestamp := COMPUTETIMESTAMP ( date-n-time ! i
,[ errormask ] ); ! o