Product Documentation

FairCom DB API for C

Previous Topic

Next Topic

ctdbTimePackMsec

Convert a time in the form hour, minute, second, millisec into a CTTIMEMS form with millisecond precision.

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

Declaration

CTDBRET ctdbDECL ctdbTimePackMsec(pCTTIMEMS pTime, NINT hour, NINT minute, NINT second, NINT millisec)

Parameters:

  • pTime [OUT] - Packed CTTIMEMS
  • hour [IN]
  • minute [IN]
  • second [IN]
  • millisec [IN]

Description

ctdbTimePackMsec() packs a time in the form hour:minute:second:millisec into a CTTIMEMS form.

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, ctdbTimePack(), ctdbTimeUnpack(), ctdbTimePackMsec, ctdbTimeUnpackMsec, ctdbDateTimeSetTimeMsec, ctdbDateTimeGetTimeMsec, ctdbDateTimePackMsec, ctdbDateTimeUnpackMsec

TOCIndex