cor_stamp_calc_utcHR

Generates a UTC timestamp for a particular date and time. Invalid input parameters will not cause this function to fail.

Syntax

int cor_stamp_calcHR( stamp, yyyy, mm, dd, hh, min, sec, tt100Nano )
COR_STAMP *stamp;
int yyyy;
int mm;
int dd;
int hh;
int min;
int sec;
int tt100Nano;

Input Arguments

yyyy The year. Must be in the range 1970.9999.
mm The month. Must be in the range 1.12.
dd The day. Must be in the range 1.n, where n is the number of days in the month.
hh The hour, specified as a 24-hour clock.
min Minutes past the hour, in the range 0..59
sec Seconds, in the range 0..59
tt100Nano Fractional seconds, specified in 100 Nano seconds.

Output Arguments

stamp A pointer to caller-supplied storage for the result in UTC time.

Return Value

int