pitm_intsec

This function converts an integer array of the following format:

timearray [0] month (1-12)

timearray [1] day (1-31)

timearray [2] year (four digit)

timearray [3] hour (0-23)

timearray [4] minute (0-59)

timearray [5] second (0-59)

to PI time

C format

PIVOID pitm_intsec(
int32 PIPTR * timedate,
int32 timearray[6] );

Returns

None

Arguments

timedate (returned)

PI time stamp

timearray (passed)

Array of time elements as specified above

Usage Notes

This function sets the timedate argument to zero if timearray arguments are out of range.

Enabling Operational Intelligence