ctdbStringToDate
Convert a date in string format to CTDATE packed format.
Declaration
CTDBRET ctdbStringToDate(pTEXT pStr, CTDATE_TYPE DateType,
pCTDATE pDate)
Description
ctdbStringToDate() converts a date in string format to CTDATE packed format. Use ctdbDateToString() to convert a packed CTDATE into a string.
Returns
ctdbStringToDate() returns CTDBRET_OK on success, or c-treeDB API C error on failure.
The possible errors associated with ctdbStringToDate() are:
See also
ctdbStringToTime(), ctdbDateToString()