ctdbSetDefDateType
Set the default date type.
Declaration
CTDBRET ctdbSetDefDateType(CTHANDLE Handle, CTDATE_TYPE DateType)
Description
ctdbSetDefDateType() sets the default date type for the present session. Initially, the default is CTDATE_MDCY, indicating month, day, century, year (4 digits for the year). The possible date types are given in the Date Type Formats table in Date Types. Use ctdbGetDefDateType() to retrieve the default date type.
Returns
ctdbSetDefDateType() returns CTDBRET_OK on success, or c-treeDB API C API error code on failure.
See also
ctdbGetDefDateType()