int = chFullYearOf(nWesternDate)
This macro function returns the full Chinese year number (counted from the origin of the Chinese calendar on February 15, 2637 B.C.) corresponding to the date nWesternDate.
➢Important: caveat about chinese year numbers
This number is calculated by multiplying the number of completed 60-year cycles by 60, then adding the year number within the current cycle.
nChCycle = chCycleOf(n_TokenDate)
nChYear = chYearOf(n_TokenDate)
nFullYear = (60*(nChCycle-1)) + nChYear
// the above calculation should give the same result as
nFullYear2 = chFullYearOf(n_TokenDate)
See also: chCycleOf, chYearOf, and other chinese dates functions.
Topic 176480, last updated on 08-Apr-2026