Product Documentation

c-treeDB API API for C

Previous Topic

Next Topic

ctdbIsLeapYear

Indicate if the year in a packed CTDATE is a leap year.

Declaration

CTBOOL ctdbIsLeapYear(CTDATE date)

Description

ctdbIsLeapYear() indicates if the year in a packed CTDATE is a leap year.

  • date is the date in CTDATE format.

Returns

ctdbIsLeapYear() returns YES if the year in a packed CTDATE is a leap year, and NO otherwise.

TOCIndex