ctdbSetDefTimeType
Set the default time type.
Declaration
CTDBRET ctdbSetDefTimeType(CTHANDLE Handle, CTTIME_TYPE TimeType)
Description
ctdbSetDefTimeType() sets the default time type for the present session. Initially, the default is CTTIME_HMP, indicating hour, minute and am/pm. The possible date types are given in the Time Type Formats table in Time Types. Use ctdbGetDefTimeType() to retrieve the default time type.
Returns
ctdbSetDefTimeType() returns CTDBRET_OK on success, or c-treeDB API C API error on failure.
See also