cor_stamp_calc

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

Syntax

void cor_stamp_calc( stamp, yyyy, mm, dd, hh, min, sec, tt )

COR_STAMP *stamp;

int yyyy;

int mm;

int dd;

int hh;

int min;

int sec;

int tt;

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

tt

Fractional seconds, specified in TICKS (hundredths of a second).

Output Arguments

stamp

A pointer to caller-supplied storage for the result.

Return Value

None.

More information

General subroutines for field definitions: Alarm Management API.