Guardian Programming Reference Summary for C

Functions Summary (A-C)
Guardian Programming Reference Summary for C522630-001
4-18
COMPUTEJULIANDAYNO
Converts a Gregorian calendar date on or after January 1, 0001, to a Julian day number.
error-mask
COMPUTETIMESTAMP
Converts a Gregorian (common civil calendar) date and time into a 64-bit Julian
timestamp.
date-n-time
#include <cextdecs(COMPUTEJULIANDAYNO)>
long COMPUTEJULIANDAYNO
( short year /* i */
,short month /* i */
,short day /* i */
,[ short _near *error-mask ] ); /* o */
Bit 0 = Year
Bit 1 = Month
Bit 2 = Day
#include <cextdecs(COMPUTETIMESTAMP)>
long long COMPUTETIMESTAMP
( short _near *date-n-time /* i */
,[ short _near *errormask ] ); /* o */
[0] = The Gregorian year (yyyy, for example,
1986).
[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).