Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetDefDateType

Retrieve the default date type.

Declaration

CTDATE_TYPE ctdbGetDefDateType(CTHANDLE Handle)

Description

ctdbGetDefDateType() retrieves the default date type for the present session. Use ctdbSetDefDateType() to define the default date type. Initially, the default is CTDATE_MDCY, indicating month, day, century, year (4 digits for the year). The possible date types are given in c-treeDB API definitions.

  • Handle [in] any c-treeDB API Handle.

Returns

ctdbGetDefDateType() returns the default date type, or 0 on error.

See also

ctdbSetDefDateType()

TOCIndex