ctdbStringToDateTime
Convert a date in string format into a packed CTDATETIME.
Declaration
CTDBRET ctdbStringToDateTime(pTEXT pStr, pCTDATETIME pDateTime,
CTDATE_TYPE DateType, CTTIME_TYPE TimeType)
Description
ctdbStringToDateTime() converts a date string to a packed CTDATETIME. The date is converted based on the DateType parameter, and the time is converted based on the TimeType parameter.
Returns
ctdbStringToDateTime() returns CTDBRET_OK on success, or c-treeDB API C error on failure.
The possible errors associated with ctdbStringToDateTime() are:
See also
ctdbDateTimeToString(), ctdbStringToTime() (ctdbStringToTime, ctdbStringToTime), ctdbStringToDate()