Guardian Programming Reference Summary for C

Functions Summary (G-N)
Guardian Programming Reference Summary for C522630-001
6-13
INTERPRETJULIANDAYNO
Converts a Julian day number to the Gregorian year, month, and day.
INTERPRETTIMESTAMP
Converts a 64-bit Julian timestamp into a Gregorian (the common civil calendar) date
and time of day.
date-n-time
#include <cextdecs(INTERPRETINTERVAL)>
long INTERPRETINTERVAL ( long long time /* i */
,[ short _near *hours ] /* o */
,[ short _near *minutes ] /* o */
,[ short _near *seconds ] /* o */
,[ short _near *milsecs ] /* o */
,[ short _near *microsecs ] ); /* o */
#include <cextdecs(INTERPRETJULIANDAYNO)>
void INTERPRETJULIANDAYNO ( long julian-day-num /* i */
,short _near *year /* o */
,short _near *month /* o */
,short _near *day ); /* o */
#include <cextdecs(INTERPRETTIMESTAMP)>
long INTERPRETTIMESTAMP( long long julian-timestamp /* i */
,short _near *date-and-time ); /* o */
[0] = The Gregorian year (yyyy).
[1] = The Gregorian month (1-12).
[2] = The Gregorian day of 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).