FairCom Corporation


4.3.64 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 c-treeDB C error on failure.

The possible errors associated with ctdbDateToString are:

See also

ctdbStringToDate, ctdbTimeToString, ctdbDateTimeToString


FairCom Corporation
www.faircom.com