IHU_timestamp_FromParts
Use the IHU_timestamp_FromParts
function to use supplied time parts (date, hour, minutes, seconds, and so on) to produce a UTC time stamp in the format needed by the Historian User API read and write calls.
Prototype
IHU_timestamp_FromParts {
in int Year,
in int Month,
in int Day,
in int Hour,
in int Minute,
in int Second,
in long Subsecond,
out IHU_timestamp *time stamp
};
Remarks
The time parts passed in are assumed to be in the local time zone of the machine where you make the call.
During UTC conversion, the Use Daylight Saving Time setting of your local machine is used.
Returns
The IHU_timestamp_FromParts
function returns ihuSTATUS_OK
on success, or an error code on failure.