Traditional Culture Encyclopedia - Almanac inquiry - Zodiac is queried every day.

Zodiac is queried every day.

Ask about the demarcation point of the zodiac in the perpetual calendar.

Calculation:

Heavenly stems and earthly branches in order:

Tiangan: A, B, C, D, E, Ji, G, Xin, Ren and Gui.

Dizhi: Zi, Ugly, Yin, Mao, Chen, Si, Wu, Wei, Shen, You, Xu and Hai.

Tiangan: Nian ÷ 10, regardless of the quotient, see the remainder. If the remainder 3 is positive, count down in the order of heavenly stems, and the number obtained is the order number of heavenly stems. If the remainder -3 is negative, it is+10, and the obtained number is the heavenly stem number. If the remainder is 3, it is the last digit of the sky, which is [

Ground branch: year ÷ 12, regardless of the quotient, see the remainder. If the remainder 3 is positive, count down in the order of the number of ground branches, and the number obtained is the number of ground branches. If the remainder -3 is negative, it is+12, and the obtained number is the ordinal number of the earthly branch. If the remainder is 3, it is the last branch, that is, [hai].

Combining the number of heavenly stems with the number of earthly branches is the year of heavenly stems and earthly branches.

For example, the calendar year of 200 1 is a new year, and the algorithm is:

2001÷10 = 200 ...1,1-3=-2, -2+ 10 = 8, and count to 8, a, b, c and d in chronological order.

2001÷12 =166 ... 9, 9- 3=6, and count to 6 in the order of earthly branch, child, ugly, yin, moth, Chen and Si. Sixth, third.

According to the above calculation results, combined with heavenly stems and earthly branches, it can be seen that 200 1 is a new year.

For another example, 1980 is the year of Geng Shen.

1980 ÷10 =198, if the remainder is 0, then 0-3 =-3, -3+ 10 = 7, and count to 7 in the order of heaven and earth, that is, a, b, c, d, e, and so on.

1980 ÷12 =165, if the remainder is 0, then 0-3 =-3, -3+ 12 = 9, and count to 9 in the order of earthly branches, that is, zi, ugly, yin, Mao and Chen. The ninth place is Shen.

According to the above calculation results and heavenly stems and earthly branches, we can know that 1980 is the year of Gengshen.

Another example: in 2022, the calendar was Ding Younian.

2022 ÷ 10 = 20 1 ...7, and the remainder is 7, then 7-3 = 4 is a goddam.

2022÷ 1 2 =168 ...1,and the remainder is1,then 1-3 =-2,-2+12 =/kloc-.

According to the above calculation results, combined with heavenly stems and earthly branches, we can know that 2022 is the year of Ding You Rooster.

The above is the content related to the query of perpetual calendar, which is about the sharing of perpetual calendar. Read the daily zodiac calendar, I hope this will help everyone!