ctdbStringToTime
Convert a time in string format to CTTIME packed format with whole second precision.
NOTE: See ctdbStringToTimeMsec() if you need millisecond precision.
Declaration
CTDBRET ctdbStringToTime(pTEXT pStr, CTTIME_TYPE TimeType,
pCTTIME pTime)
Description
ctdbStringToTime() converts a time in string format to CTTIME packed format. Use ctdbTimeToString() to convert a packed CTTIME into a string.
Returns
ctdbStringToTime() returns CTDBRET_OK on success, or c-treeDB API C error on failure.
The possible errors associated with ctdbStringToTime() are:
See also
ctdbTimeToString(), ctdbStringToTimeMsec(), ctdbTimeMsecToString()