Traditional Culture Encyclopedia - Almanac inquiry - How to calculate heavenly stems and earthly branches's date of birth?

How to calculate heavenly stems and earthly branches's date of birth?

Chronology of ancient China. That is, A, B, C, D, E, B, G, A, B and B are the ten branches, and A, B, C, B, B, C, D, B, B and B are the twelve branches, and the branches are coordinated in sequence. For example, Jia Zi and Yi Chou returned to Jia Zi after 60 years. It goes on and on. China still uses the calendar year of the dry branch in the lunar calendar.

The chronology of the dry branch sprouted in the Western Han Dynasty, began with Wang Mang, and prevailed in the late Eastern Han Dynasty. In the second year of Han and Yuan Dynasties (AD 85), the imperial court ordered the nationwide implementation of "Records of Cadres". Some people think that China used dry branches to record the years before Emperor Wu of the Han Dynasty. However, this is the year of the prince. In the year of the prince, the main branch represents twelve days (dividing the ecliptic into twelve equal parts). Jupiter 1 1.862 orbits the sky once a week, so it takes about 86 years for Tai Sui to pass through an event called "Chen Chao". In Zhuan Xu Calendar, the first year of Tai Chu (BC 104) of Emperor Wudi of the Western Han Dynasty was the "Prince" in Bingzi, but taichu calendar changed it to "Ding Chou" in a super-classical way. At the end of the Han Dynasty, Liu Xin's newly compiled San Tong Li changed the first year of Taishu to Bingzi, and the second year of Taishi (the first 95 years) was changed from Yiyou to Bingxu. Scholars who returned to the Eastern Han Dynasty did not use the super-Chen Fang method. Therefore, starting from the second year, the chronology of the prince and the chronology of the main branch are the same. However, according to legend, the expression of heavenly stems and earthly branches's chronology began in the Yellow Emperor's period, and 60 pieces of Jiazi table were found in Shang Dynasty archaeology of Yin Ruins.

1. The meaning of trunk and branch: trunk and branch are the collective names of heavenly stems and earthly branches.

There are 10 symbols:

1 2 3 4 5 6 7 8 9 10

Methyl ethyl propyl butyl hexyl heptyl octyl non decyl

Branch refers to the ground branch with 12 symbols:

1 2 3 4 5 6 7 8 9 10 1 1 12

The child is ugly, and the mother hasn't applied this afternoon.

2. The combination of stem and branch is used for chronology. In other words, the ten-day trunk and branch are combined with the twelve-day earthly branch to form the trunk and branch chronology. According to this arrangement method, 60 branches can be formed after six rounds of arrangement of 10 symbols and five rounds of arrangement of ground branches 12 symbols. If it continues to be discharged, it will return to its original state, and it will start again and again, which is what the folks say, "60 years of turning to Jiazi."

[Edit this paragraph] Sixty years Jia Zi (branch table)

1 2 3 4 5 6 7 8 9 10

Jia Chou Bing Yin Ding Mao Wu

1 1 12 13 14 15 16 17 18 19 20

Jia Haibing, Ding Choumao, Chen Geng, the new four-person five-return committee.

2 1 22 23 24 25 26 27 28 29 30

Shen Jia Yi Youbing Xu Ding Wu Haizi ugly Geng Yinxin Mao Renchen ghost silk

3 1 32 33 34 35 36 37 38 39 40

Wu Jiayi, Wei Bing, Shen Dingyou, Reform Movement of 1898, Ji Haigeng, Angel, Ugly, Renyin and Guimao.

4 1 42 43 44 45 46 47 48 49 50

Chen Jia, Yi Si, Bing Wu, Wu Shen, Ji You, Geng Xu, Xinhai, Ren Zi, Gui Chou.

5 1 52 53 54 55 56 57 58 59 60

Jia Yin, Yi Mao, Chen Bing, Ding Si, Wu Wu and Xin You have not applied for this position, and they have all failed.

[Edit this paragraph] Understand the "Twelve Earthly Branches" in combination with the actual situation

1. Match twelve animals with twelve earthly branches to form the Year of the Zodiac. (See the picture below) If the word "zi" is included in the year of the main branch, it is the year of the rat, and all the people born in this year are "rats"; The Year of the Ox is a year of ugliness, and all people born in this year belong to the ox. And so on. (as shown in the following table)

Zodiac year

1 2 3 4 5 6 7 8 9 10 1 1 12

A rat, an ugly cow, a snake, a black horse, a sheep, a monkey, a chicken, a dog and a sea pig.

2. Twelve branches represent twelve o'clock.

There are twenty-four hours in a day, but in our tradition, it is represented by twelve hours, that is, one hour is two hours. (as shown in the following table)

24-hour and 12-hour comparison table

Ugly son, ugly son, ugly son, ugly son.

23-0 1:0 1-03:03-05 :05-07:07-09:09- 1 1

At noon, I didn't apply.

1 1- 13: 13- 15: 15- 17: 17- 19: 19-2 1:2 1-23

[Edit this paragraph] Conversion between AD year and main branch year.

1. Confirmation of heavenly stems

The sky is dry according to the figures at the end of the year.

BC:

0 is Xin, 1 Geng, 2 is Ji, 3 is E, 4 is D, 5 is C, 6 is B, 7 is A, 8 is decyl and 9 is nonyl.

After A.D.:

0 is heptyl, 1 is octyl, 2 is nonyl, 3 is decyl, 4 is A, 5 is B, 6 is C, 7 is D, 8 is E, and 9 is self.

2. Ground branch calculation

Earthly branches can be divided into odd arrays and even arrays. (After A.D., odd-numbered spouse array, even-numbered spouse array. The situation in BC is just the opposite. )

Odd array: even array:

1 2 3 4 5 6 1 2 3 4 5 6

Zi Wu's ugly hair is not yet unitary.

When calculating the ground support, divide the year and the last number by 6 (for example, divide 2009 by 6 in 2009). Divide by 6 to get the remainder, and you can get the ground branch.

However, because the final number is different, the branches obtained are also different. It can be concluded that:

BC:

The last digit is 0, 1, the remainder 0 is the fifth, the remainder 1 is the sixth, the remainder 2 is 1, the remainder 3 is the second, the remainder 4 is the third and the remainder 5 is the fourth.

The last digit is 2,3, the remainder 0 is the fourth, the remainder 1 is the fifth, the remainder 2 is the sixth, the remainder 3 is 1, the remainder 4 is the second and the remainder 5 is the third.

The last digit is 4,5, the remainder 0 is the third, the remainder 1 is the fourth, the remainder 2 is the fifth, the remainder 3 is the sixth, the remainder 4 is 1, and the remainder 5 is the second.

The last digit is 6,7, the remainder 0 is the second, the remainder 1 is the third, the remainder 2 is the fourth, the remainder 3 is the fifth, the remainder 4 is the sixth and the remainder 5 is 1.

The last digit is 8,9, the remainder 0 is 1, the remainder 1 is the second, the remainder 2 is the third, the remainder 3 is the fourth, the remainder 4 is the fifth and the remainder 5 is the sixth.

After A.D.:

The last digit is 0, 1, the remainder 0 is the fifth, the remainder 1 is the fourth, the remainder 2 is the third, the remainder 3 is the second, the remainder 4 is 1, and the remainder 5 is the sixth.

The last digit is 2,3, the remainder 0 is the sixth, the remainder 1 is the fifth, the remainder 2 is the fourth, the remainder 3 is the third, the remainder 4 is the second, and the remainder 5 is 1.

The last digit is 4,5, the remainder 0 is 1, the remainder 1 is the sixth, the remainder 2 is the fifth, the remainder 3 is the fourth, the remainder 4 is the third and the remainder 5 is the second.

The last digit is 6,7, the remainder 0 is the second digit, the remainder 1 is 1, the remainder 2 is the sixth digit, the remainder 3 is the fifth digit, the remainder 4 is the fourth digit and the remainder 5 is the third digit.

The last digit is 8,9, the remainder 0 is the third, the remainder 1 is the second, the remainder 2 is 1, the remainder 3 is the sixth, the remainder 4 is the fifth and the remainder 5 is the fourth.

Formula: After AD: 05-26-4 1-62-83, which means that the remainder of the last digit 0 or 1 is the fifth digit, that of the last digit 2 or 3 is the sixth digit, that of the last digit 4 or 5 is 1, and that of the last digit 6 or 7 is the second digit.

BC: 05-24-43-62-8 1, with the same meaning as above.

In this way, the year can be calculated

For example, in 2009 AD, Tian Gan Jiu was his own, and then 200÷ 6 = 33 ... 2. The one with 9 and 2 at the end after AD was the first one, and the first one in even array was ugly. Calculate the earthly branch. On the whole, it has been an ugly year.

Answer: 2009 was an ugly year.

[Edit this paragraph] Quick check of the lunar calendar method for dry branches

Since the calendar of Shang Dynasty, the first month of each year has been designated as Yin, which is called "building Yin in the first month", and the subsequent months are analogized in the order of earthly branches. The calculation method of the main branch in the first month is as follows: in case of a year or a year, the first month is C Yin; B or Geng Year, the first month is Wuyin; In the year of C or Xin, the first month is Geng Yin; Ding Nian or Rennian, the first month is Renyin; Wu Zi or Gui Wei is not a year old, and the first month is Jia Yin. The first month is calculated according to the main branch, and other months can be calculated according to the main branch.

For example, 2006 is the year of Xu Bing, the first month is the year of Geng Yin, the second month is the year of Xin Mao, the third month is the year of Ren Chen, and so on.

[Edit this paragraph] Quickly check the calendars of cadres and branches.

The formula for calculating the branch date according to the known date is:

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 day of April 1 2006. Substitute the numerical value into the calculation formula.

g = 4 * 20+【20/4】+5 * 06+【06/4】+【3 *(4+ 1)/5】+ 1-3 = 1 17

Divided by 10, the remainder is 7, and the seventh place in Tiangan 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.

The relatively simple AD chronology method and BC chronology method.

Jia Chou Bing Yin Ding Mao Wu

Jia Haibing, Ding Choumao, Chen Geng, the new four-person five-return committee.

Shen Jia Yi Youbing Xu Ding Wu Haizi ugly Geng Yinxin Mao Renchen ghost silk

Wu Jiayi, Wei Bing, Shen Dingyou, Reform Movement of 1898, Ji Haigeng, Angel, Ugly, Renyin and Guimao.

Chen Jia, Yi Si, Bing Wu, Wu Shen, Ji You, Geng Xu, Xinhai, Ren Zi, Gui Chou.

Jia Yin, Yi Mao, Chen Bing, Ding Si, Wu Wu and Xin You have not applied for this position, and they have all failed.

Time means time, heavenly stems and earthly branches.

Midnight 23- 1 rat armor 4 sub-4

The ugly cock crows 1-3 Niu Yi 5 ugly 5.

Indigo Danwei 3-5 Hu Bing 6 Yin 6

Shi Mao sunrise 5-7 rabbit diced 7 Mao 7.

Chen Shi Shishi 7-9 Weilong 8 Chen 8

Shi Si Weishi 9- 1 1 Sheji 9 Si 9

Noon day 1 1- 13 Ma Geng 0 noon 10

Wei Ri 13- 15 Yangxin 1 Wei 1 1

Shen Shizhen 15- 17 Monkey Kernel 2 Shen 12

The daily income per hour is 17- 19, and the daily income per hour is 1.

At dusk, 19-2 1 dog

Xu 2

Hairtail 2 1-23 pig

Hai 3

A.D. years of branches and branches:

For example, in 2000 (), the red part of 2000 is heavenly stems, that is, Geng 0 earthly branches: 2000 divided by 12 equals 166, that is, Chen 8.

Chronology of BC:

Such as: 78 1 78 BC (Gengshen)1Tiangan:1-1=10, that is, the ground branch of Geng 0: 78 1 divided by/

In 3 14 BC (), Tiangan: 1 1-4=7, that is, Ding's earthly branch 7: 3 14 divided by 12 equals 26 and the remaining 2, that is,13-2 =

In 57 BC (Jiazi), the heavenly stems: 1 1-7=4 (Jiazi), and the earthly branches: 57 divided by 12 equals 4+9 13-9=4 (Zizi).

BC 1 year (Gengshen), heavenly stems:11=10 (Gengshen), earthly branches:13-1=/kloc.