Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbSetFieldAsTimeMsec

Set a field as a CTTIMEMS type value with millisecond precision.

NOTE: See ctdbSetFieldAsTime() if you don't need millisecond precision.

Declaration

CTDBRET ctdbDECL ctdbSetFieldAsTimeMsec(CTHANDLE Handle, NINT FieldNbr, CTTIMEMS value)

Parameters:

  • Handle [IN] - CTDB C API record handle
  • FieldNbr [IN] - Field number
  • value [IN] - CTTIMEMS type value

Description

ctdbSetFieldAsTimeMsec() sets a field as a CTTIMEMS type value. This allows it to support milliseconds.

Return Values

Value

Symbolic Constant

Explanation

0

CTDBRET_OK

Successful operation.

See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values.

See Also

ctdbGetFieldAsTimeMsec, ctdbGetFieldAsTime(), ctdbSetFieldAsTime(), ctdbTimePackMsec, ctdbTimeUnpackMsec, ctdbDateTimeSetTimeMsec, ctdbDateTimeGetTimeMsec, ctdbDateTimePackMsec, ctdbDateTimeUnpackMsec

TOCIndex