12 heavenly stems and earthly branches cross-reference table
Ten days of work: A, B, C, D, E, G, G, Xin, people, ghosts.
The heavenly stems are yin and yang: A, C, E, G and E are yang stems; JE, JE, JE, JE, JE, JE, JE, JE, JE, JE, JE, JE, JE, JE, JE, JE, B and B are called dry in the shade.
Twelve earthly branches: Zi, Ugly, Yin, Mao, Chen, Si, Wu, Wei, Shen, You, Xu and Hai.
Yin and Yang of the earthly branches: Zi, Yin, Chen, Wu, Shen and Xu belong to Yang; Ugliness, Mao, Si, Wei, You and Hai belong to Yin.
Twelve heavenly stems and earthly branches algorithm:
1, chronology of trunk and branch
Divide the Gregorian calendar year by 60 and subtract 3 to get the serial number of this year's lunar trunk. Check the trunk and branch tables to get the age of the trunk and branch. If the data is less than or equal to zero, add 60.
For example, the main branch is found in 20 19, 20 19 ÷ 60 = 33, and the annual serial number of the main branch = 39-3 = 36, so that we know that this year is the year of Jihai. The annals of cadres and branches began in beginning of spring every year. No matter whether beginning of spring is in the twelfth month of the previous year or the first month of the new year, beginning of spring is regarded as the new year.
2, the dry moon method
The method of observing the moon and tree trunks is mainly used by astrologers to calculate horoscopes, so it is not widely implemented. The method is as follows: if you meet A or your own year, the first month is C Yin; B or Geng Year, the first month is Wuyin; The first month of year C or Xin is Gengyin, the first month of year Ding Nian or Renyin is Renyin, and the first month of year E or Guiwei is Jiayin. The main branches of the first month are known, and the rest months can be inferred in the order of sixty jiazi.