ctdbDateTimeUnpack
Convert a date and time in CTDATETIME form into the form day, month, year, hour, minute, second with whole second precision.
NOTE: See ctdbDateTimeUnpackMsec() if you need millisecond precision.
Declaration
CTDBRET ctdbDateTimeUnpack(CTDATETIME DateTime, pNINT pYear, pNINT pMonth, pNINT pDay, pNINT pHour, pNINT pMinute, pNINT pSecond)
Description
ctdbDateTimeUnpack() unpacks a date and time CTDATETIME value into the form day, month, year, hour, minute, second.
Returns
ctdbDateTimeUnpack() returns CTDBRET_OK on success, or c-treeDB API error on failure.
See also
ctdbDateTimePack(), ctdbDateTimeUnpackMsec(), ctdbDateTimePackMsec()