IHU_timestamp_ToParts

Use the IHU_timestamp_ToParts function to convert UTC time stamps to the following human-readable parts:

  • Year
  • Month
  • Date
  • Hour
  • Minute
  • Second
  • Subsecond

You can use this function to convert the time stamps of retrieved data samples.

Prototype

IHU_timestamp_ToParts {
  in IHU_timestamp time stamp
  out int *Year,
  out int *Month,
  out int *Day,
  out int *Hour,
  out int *Minute,
  out int *Second,
  out long *Subsecond,
};

Remarks

The time parts produced are in the local time zone of the machine where you make the call.

During conversion from UTC, the Use Daylight Saving Time setting of your local machine is used.

Returns

The IHU_timestamp_ToParts function returns ihuSTATUS_OK on success, or an error code on failure.