Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbDateTimeSetTimeMsec

Set a CTDATETIME value with a CTTIMEMS type value with millisecond precision.

NOTE: See ctdbDateTimeSetTime() if you do not need millisecond precision.

Declaration

CTDBRET ctdbDECL ctdbDateTimeSetTimeMsec(pCTDATETIME pDateTime, CTTIMEMS Time)

Parameters:

  • pDateTime [IN/OUT] - Packed CTDATETIME type value
  • Time [IN] - Packed CTTIMEMS type value

Description

ctdbDateTimeSetTimeMsec() sets a CTDATETIME type value with a CTTIMEMS type value. The date component of the CTDATETIME type value is left unchanged.

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, ctdbDateTimeSetTime, ctdbDateTimeGetTimeMsec, ctdbDateTimePackMsec, ctdbDateTimeUnpackMsec

TOCIndex