Fortune Telling Collection - Comprehensive fortune-telling - Fortune-telling heavenly stems and earthly branches time comparison table _ Fortune-telling heavenly stems and earthly branches

Fortune-telling heavenly stems and earthly branches time comparison table _ Fortune-telling heavenly stems and earthly branches

Heavenly stems and earthly branches date conversion

The first is the branch table (I will give it first, because it will be used in the later calculation)

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

The following are the key points.

Second, the specific calculation

Type 1:

For example, when is the ugly day in June of 54 1, and the most important thing is how to calculate it?

Step 1: First of all, 54 1 year is the seventh year of Liang Wudi Xiaogan Datong. This step can be found in most dictionaries and is easy on the Internet.

Principle of the second step: after finding the first grade, it is easy to count the number of days to search and the number of days in the first grade.

Step 2: Download Mr. Chen Yuan's "Twenty Historical Leaps Table" and find on page 76 that June of that year is the theory of Xin Chou, that is, the first day of the 54th1lunar calendar is July 9th in the western calendar.

According to the list of cadres and branches, the first day was Xin Chou, followed by Xin Chou, Ren Yin, Gui Mao, Chen Jia, Yi Si, Wu Bing, Ding Wei, Wu Shen, Ji You, Geng Xu, Xinhai, Ren Zi and Gui Chou. So that day is June 13th of the lunar calendar (54 1) and July 20th of the solar calendar (54 1).

Ps: The above difficulties mainly lie in looking up the 20th Century Shuo Leap Table. The first row in the horizontal row of the table frame is the year, which is subject to the year number. The rightmost line in the vertical line is the month. The intersection point is the main branch corresponding to the first day of the month, and there are vertical small characters on the left side of the main branch, representing the first day of the Gregorian calendar.

This book is available on verycd.

Type 2 (the known date is the date of the branch)

Quickly check the dates of trunks and branches: The formula for calculating the dates of trunks and branches according to the known dates 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.