Please enable JavaScript to view this site.


int = chCycleOf(nWesternDate)


This macro function returns the year cycle part of the Chinese date corresponding to the Gregorian nWesternDate.

nFullYear = chFullYearOf(n_TokenDate)
nChCycle = (nFullYear div 60) + 1
// the above calculation should give the same result as
nChCycle2 = chCycleOf(n_TokenDate)

The Chinese calendar is made up of 60-year cycles, with cycle 1 beginning on February 15, 2637 B.C.


See also: chFullYearOf  and other chinese dates functions.


Topic 160400, last updated on 18-Apr-2020