ctdbDateToString
Convert a packed CTDATE into a string.
Declaration
CTDBRET ctdbDateToString(CTDATE date, CTDATE_TYPE DateType,
pTEXT pStr, VRLEN size)
Description
ctdbDateToString() converts a packed CTDATE into a string. The date is converted to string based on the DateType parameter. To convert a packed CTTIME to string, use ctdbTimeToString(). Use ctdbStringToDate() to convert from a string to CTDATE.
Returns
ctdbDateToString() returns CTDBRET_OK on success, or FairCom DB API error on failure.
The possible errors associated with ctdbDateToString() are:
See also
ctdbStringToDate(), ctdbTimeToString(), ctdbDateTimeToString()