Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbDateTimeGetTimeMsec

Retrieve a CTTIMEMS type value from a CTDATETIME type value.

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

Declaration

CTDBRET ctdbDECL ctdbDateTimeGetTimeMsec(CTDATETIME DateTime, pCTTIMEMS pTime)

Parameters:

  • DateTime [IN] - Packed CTDATETIME type value
  • pTime [OUT] - Packed CTTIMEMS type value

Description

ctdbDateTimeGetTimeMsec() retrieves a CTTIMEMS type value from a CTDATETIME type value.

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, ctdbDateTimePackMsec, ctdbDateTimeUnpackMsec, ctdbDateTimeGetTime

TOCIndex