Product Documentation

FairCom DB 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 FairCom DB API definitions.

  • Handle [in] any FairCom DB API Handle.

Returns

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

See also

ctdbSetDefDateType()

TOCIndex