ctdbGetYear
Retrieve the year from a packed CTDATE.
Declaration
NINT ctdbGetYear(CTDATE date)
Description
ctdbGetYear() retrieves the year from a packed CTDATE. To retrieve the day of the month from a packed CTDATE, use ctdbGetDay(). To retrieve the month of the year from a packed CTDATE, use ctdbGetMonth().
Returns
ctdbGetYear() returns the day of the month on success or 0 on error.
See also
ctdbGetMonth(), ctdbGetDay()