FairCom Corporation


4.3.62 ctdbDateTimeToString


Convert a packed CTDATETIME into a string.

Declaration

CTDBRET ctdbDateTimeToString(CTDATETIME DateTime, CTDATE_TYPE
DateType, CTTIME_TYPE TimeType, pTEXT pStr, VRLEN size)

Description

ctdbDateTimeToString converts a packed CTDATETIME into a string. The date is converted to string based on the DateType parameter, and the time is converted to string based on the TimeType parameter.

Returns

ctdbDateTimeToString returns CTDBRET_OK on success, or c-treeDB C error on failure.

The possible errors associated with ctdbDateTimeToString are:

See also

ctdbTimeToString, ctdbDateToString, ctdbStringToDateTime


FairCom Corporation
www.faircom.com