ctdbDateTimeGetTime
Retrieve a CTTIME type value from a CTDATETIME type value with whole second precision.
NOTE: See ctdbDateTimeGetTimeMsec() if you need millisecond precision.
Declaration
CTDBRET ctdbDateTimeGetTime(CTDATETIME DateTime, pCTTIME pTIME)
Description
ctdbDateTimeGetTime() retrieves a CTTIME type value from a CTDATETIME type value.
Returns
ctdbDateTimeGetTime() returns CTDBRET_OK on success, or c-treeDB API error on failure.
See also
ctdbDateTimeGetDate(), ctdbDateTimeSetTime(), ctdbDateTimeGetTimeMsec()