ctdbDateTimeSetTime
Set a CTDATETIME type value with a CTTIME type value with whole second precision.
NOTE: See ctdbDateTimeSetTimeMsec() if you need millisecond precision.
Declaration
CTDBRET ctdbDateTimeSetTime(pCTDATETIME pDateTime, CTTIME TIME)
Description
ctdbDateTimeSetTime() sets a CTDATETIME type value with a CTTIME type value. The date component of the CTDATETIME type value is left unchanged.
Returns
ctdbDateTimeSetTime() returns CTDBRET_OK on success, or c-treeDB API error on failure.
See also
ctdbDateTimeSetDate(), ctdbDateTimeGetTime(), ctdbDateTimeSetTimeMsec()