Is there any way to know when your birthday is in the lunar calendar?
Dry, that is, ten dry: a, b, d, e, g, n, n, g.
Twelve: Ugly Yin Mao Tatsumi didn't apply for going to sea at noon.
Time series calculation of trunk and branch
Method 1:
Set the corresponding heavenly stems and earthly branches number as follows:
Tian Gan: ethyl, propylene, butyl, heptyl, heptyl, octanol, non-decyl.
4 5 6 7 8 9 0 1 2 3
Gezhi: Ugly hasn't applied for going to sea this afternoon.
4 5 6 7 8 9 10 1 1 0 1 2 3
Calculation method:
The heavenly stems in a certain year are the heavenly stems corresponding to the single digits in that year, and the earthly branches are the earthly branches corresponding to the remainder obtained by dividing the year by 12. For example, 1997, the unit is 7, and the corresponding heavenly stems are "d"; 1997 divided by 12, the remainder is 5, and the corresponding branch is ugly. Then, 1997 is the year of Ding Chou. Another example is 2000, when the single digit is 0, the corresponding heavenly stem is "Geng"; When 2000 is divided by 12, the remainder is 8, and the corresponding branch is "Chen", so 2000 is a year.
Method 2: First, remember the ordinal number of sixty.
Sixty-one sub-table
0 1 jiazi 1 1 JOE 2 1 Shen Jia 3 1 Wu Jia 4 1 Chen Jia 5 1 Jiayin.
02 b ugly 12 b sea 22 b tour 32 b Wei 42 b si 52 b hair
03 bingyin 13 bingzi 23 Xu Bing 33 Shen Bing 43 Wu Bing 53 Chen Bing
04 Ding Mao 14 Ding Chou 24 Ding Hai 34 Ding You 44 Ding Wei 54 Ding Si
05 Chen Wu 15 Wuyin 25 Wuzi 35 Wuxu 45 Wu Shen 55 Wuwu
06 season 16 season gross 26 season domain 36 season sea 46 Ji You 56 wiki.
07 Geng Wu 17 Chen Geng 27 Geng Yin 37 Geng Zi 47 Geng Xu 57 Geng Shen.
08 Xin Wei 18 Xinsi 28 Xin Mao 38 Xin Chou 48 Xin Hai 58 Xin You.
09 Ren Shen 19 Renwu 29 Renchen 39 Renyin 49 Renzi 59 Ren Xu
10 Gui You 20 Guiwei 30 Guisi 40 Guimao 50 Guichou 60 Guihai
Calculation formula: (number of years in the solar calendar of trunk and branch -3) divided by 60= quotient ... remainder.
The remainder here is the ordinal number of the required year, and then look up the above sixty sub-tables, and the corresponding branch is the required year.
Monthly calculation of trunk and branch
First, the determination of monthly dryness, according to the monthly dryness formula at the beginning of the year-"five tigers build a Song Yuan":
In the first year, C was the first, while in the second year, E was the first. Bing Xin's age is calculated from Geng,
Ding Ren begged Ren in the first month. Built in the first month, ten years will be smooth.
Song Yue again:
Party A is the leader of Party C, and Party B is the leader of Party E ... Bing Xin of Geng Yin,
Ding Ren and Ren Yinmou, Wu Gui and Jia Yinju, flow again and again.
Second, the determination of the monthly branch is relatively simple, and twelve months corresponds to twelve local branches as follows:
The first month of the lunar calendar, the end of February, the beginning of March, the end of April, the afternoon of May and the end of June,
July Shen, August You, September Xu, October Hai, eleven sons, twelve ugliness.
It should be noted here that the starting time of the lunar branch is not based on the first day of each month, but on the 24 solar terms of the lunar calendar, which is why there is no independent calendar for the lunar leap month. :
Yin from beginning of spring to Jing Ke, Mao from Jing Ke to Qingming, Chen from Qingming to Long Summer, Long Summer to Mangzhong.
In the afternoon, from awn seed to summer heat, not from summer heat to beginning of autumn, from beginning of autumn to Bailu, and from Bailu to Cold Dew.
From cold dew to beginning of winter, from winter solstice to heavy snow, from heavy snow to slight cold, from slight cold to beginning of spring.
The determination of the daily trunk and branches can be obtained by the formula:
Formula:
g = 4C+[C/4]+5y+[y/4]+[3 *(M+ 1)/5]+d-3
z = 8C+[C/4]+5y+[y/4]+[3 *(M+ 1)/5]+d+7+I
Where c is the number of centuries minus one, y is the last two digits of the year, m is the month and d is the number of days. 65438+ 10 and February are calculated according to 65438+March and 65438+April of the previous year. Odd months i=0 and even months i=6. The remainder of g divided by 10 is heavenly stems, and the remainder of z divided by 12 is earthly branches.
When calculating, the number with [] indicates rounding.
For example, check the trunk and branch days of April 1 day, 2006. Substitute the numerical value into the calculation formula.
g = 4 * 20+[20/4]+5 * 06+[06/4]+[3 *(4+ 1)/5]+ 1-3 = 197
Divided by 10, the remainder is 7, and the seventh place is' Geng'.
z = 8 * 20+[20/4]+5 * 06+[06/4]+[3 *(4+ 1)/5]+ 1+7+6 = 2 13
Divided by 12, the remainder is 9, and the ninth branch is' Shen'.
The answer is: April 2006 1 day is Geng Shen day.
But it is very troublesome to do so. The usual practice is to look up the folk calendar.
Time branch calculation
It is easy to determine the time branch, and 24 hours a day belongs to 12 hours.
At noon, from 23: 00 the day before yesterday to 1, when ugly, 1 to 3: 00 in the morning, in Yin Shi, from 3: 00 to 5: 00 in the morning.
5: 00-7: 00 in Shi Mao, 7: 00-9: 00 in Chen Shi, 9: 00-1:00 in Shi Si, and113 at noon:
Finally, 13- 15, Shen Shi, 15- 17, You Shi, 17- 19,
When, 19-2 1, when, when -23.
The formula for determining when to work is as follows:
Jiazi starts from Jiaxu Day, Bingzi starts from B Geng Day, and Wuzi starts from Bingxin Day.
From the day of Ding Ren, Geng Zi, Wu Gui, Ren Zi, 60 Jia Zi, one after another.
I don't know if the above methods for calculating the year, month and day are useful to you?