Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbGetFieldAsTimeMsec

Retrieve the field as a CTTIMEMS type value with millisecond precision.

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

Declaration

CTDBRET ctdbDECL ctdbGetFieldAsTimeMsec(CTHANDLE Handle, NINT FieldNbr, pCTTIMEMS pValue)

Parameters:

  • Handle [IN] - CTDB C API record handle
  • FieldNbr [IN] - The field number
  • pValue [OUT] - Pointer to a CTTIMEMS type value to receive the time

Description

ctdbGetFieldAsTimeMsec() retrieve the field as a CTTIMEMS type value. This time type supports 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, ctdbSetFieldAsTimeMsec, ctdbTimePackMsec, ctdbTimeUnpackMsec, ctdbDateTimeSetTimeMsec, ctdbDateTimeGetTimeMsec, ctdbDateTimePackMsec, ctdbDateTimeUnpackMsec, ctdbGetFieldAsTime(), ctdbSetFieldAsTime()

TOCIndex