Fortune Telling Collection - Zodiac Analysis - I would like to ask how to calculate heavenly stems and earthly branches on April 8th in the Gregorian calendar, and what day it is, just like Gengzi Day. Solve?

I would like to ask how to calculate heavenly stems and earthly branches on April 8th in the Gregorian calendar, and what day it is, just like Gengzi Day. Solve?

You must know that it was April 8 of the solar calendar that year. The calculation formula is as follows:

Sun column stem branching algorithm

As long as you remember the following formula, Rizhu can be pushed out. The formula is as follows:

[Advertising in the last two years,

Divide one by four to get the quotient;

Divided by 12 in the same way,

Multiply the remainder by 5 and add the radix;

Plus the total number of days in the month and day,

Except for the remaining sixty days. ]

Sun Zhugan sum branch formula:

{∞(A- 1/4)〕Q+∞(A- 1)/ 12〕R×5+ 15+B }/60 R = C

Q is a quotient. R is the remainder. 15 as the base. A is the last two digits. B is the total number of days of the sun and the moon.

190 1-2000 is15,2001-2100 is 00, 2 10 1-2200 is 44. 180 1- 1900 is 3 1, 170 1- 1800 is 47,160/kloc-.

Take1June, 999 15 at 3:30 pm as an example. How to get the daily expenses according to the above method?

Answer: "the last two digits of the year", that is, take the last two digits of 1999, that is, ninety-nine. "Subtract one and divide four to get the quotient", and the operation is as follows: (99- 1) ÷ 4 = 98 ÷ 4 = 24. The quotient remains 2, and the remaining 2 does not care about it, but only takes the quotient 20. B: "Divide by twelve in the same way, and multiply the remainder by five plus fifteen". The operation is as follows: (99- 1) ÷ 12 = 8 The remainder is 2, 2 times 5 is 10, 10 plus 15 is 25.

C: The total number of days in each month, that is, the total number of days from New Year's Day to that day, is easy to calculate. Take 4 months as the unit, from 1 to April, 120 days if there is no leap month, and 12 1 day for leap February; May to August is 123 days; September to 65438+February is 122 days. Since it is divisible every 60 days, 1 can be regarded as 0 days until April. May to August is 3 days; September to 65438+February is 2 days, plus zero days. Take June this year 15 as an example. Since there is no leap year, June 1 to April is 0. Only may 3 1 day plus June 15 and June 3 1+ 18.

[Xin Li Riding Press] can also be based on the formula "adding zero and double thirty in a single month, plus the adjustment of the current month; Finally, add the calculation date. Don't forget to adjust and add one from March of the year of Shen. "

Simply add monthly adjustments. Verification summary:

The monthly adjustment is as follows: 1, 4 and 5 are 0; Two, six and seven are1; March is-1; August is 2; September and October are 3; 1 1 month and1February are 4;

A+B+C = 24+25+46 = 95。 If it exceeds 60, it needs to be divisible to get the remainder. If it is 95 ÷ 60 = 1, the remaining 35,35 is the daily branch of 1999. The unit number is the stem and the branch is 12 (ground branch), so it is known that the stem is 5, that is, e, the branch is 35 ÷ 12 = 2, the remainder is 1 1. It's that simple. Take a quick look at the calendar and see if there are any differences.