Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetDefTimeType

Retrieve the default time type.

Declaration

CTTIME_TYPE ctdbGetDefTimeType(CTHANDLE Handle)

Description

ctdbGetDefTimeType() retrieves the default time type for the present session. Initially, the default is CTTIME_HMP, indicating hour, minute and am/pm. The possible time types are given in c-treeDB API definitions. Use ctdbSetDefTimeType() to define the default time type.

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

Returns

ctdbGetDefTimeType() returns the default time type, or 0 on error.

See also

ctdbSetDefTimeType()

TOCIndex