Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbDateUnpack

Unpack a CTDATE date into the form day, month and year.

Declaration

CTDBRET ctdbDateUnpack(CTDATE Date, pNINT pyear, pNINT pmonth, pNINT pday)

Description

ctdbDateUnpack() unpacks a CTDATE date into the form day, month and year.

  • Date [in] the packed date.
  • pyear [out] the year.
  • pmonth [out] the month.
  • pday [out] the day

Returns

ctdbDateUnpack() returns CTDBRET_OK on success, or c-treeDB API error on failure.

See also

ctdbDatePack()

TOCIndex