ctdbDateTimePack
Convert a date and time in the form day, month, year, hour, minute, second into a CTDATETIME form.
NOTE: See ctdbDateTimePackMsec() if you need millisecond precision.
Declaration
CTDBRET ctdbDateTimePack(pCTDATETIME pDateTime, NINT year, NINT
month, NINT day, NINT hour, NINT minute, NINT second)
Description
ctdbDateTimePack() pack a date and time value in the form day, month, year, hour, minute, second into a CTDATETIME form.
Returns
ctdbDateTimePack() returns CTDBRET_OK on success, or FairCom DB API error on failure.
See also
ctdbDateTimeUnpack(), ctdbDateTimePackMsec(), ctdbDateTimeUnpackMsec()