Traditional Culture Encyclopedia - Almanac inquiry - How to calculate the date in ancient times? For example, October 2 nd, what date is October? Can you write a comparison?

How to calculate the date in ancient times? For example, October 2 nd, what date is October? Can you write a comparison?

The ancient date is calculated according to the branch date, and the algorithm is as follows:

Rizhu formula: daily stem ordinal number = number of years+number of months+date (if the sum is greater than 60, it will be reduced by 60). October and February of 65438+)

Note: every day in 65438+ 10 and February is a year, that is, a year before March. For example, for the main branch of 2065438+February 28th, 2005, before March, 2065438+2004 =7 instead of 2065438+2005. Scope of application: March this year-February next year.

For example, find1987 July 18,1997 June 15, August 8, 2008, 20 15438+0 1.

Solution: Look it up in the table.

1987 July 18 = 1987+July+18 days =45+2+ 18=65-60=5= Chen Wu.

1997 65438+ 10 month15 =1996+1+05 = 33+6+15 = 54 = Ding Si (65438

August 8th, 2008 =2008+August 8th = 36+33 +8 = 77-60 =17 = Chen Geng.

2015165438+1 October 2 1 day =20 15 years+1month +2 1 day =/kloc-0.

20 16 February 14 =20 15 years+February+14 days =12+37+14 = 63-60 = 3 = bingyin (.

Extended data:

Heavenly stems and earthly branches's calendar is a way for Han people to record the daily order. It is a part of the lunar calendar and an important part of the almanac of past dynasties. The trunk branch is the collective name of Tiangan (A, B, D, E, G, E, D) and Dizhi (ugly Mao Yinchen has been in Xu Hai at noon in Shen You);

Like the chronology of branches, 60 branches are used to record the daily sequence, from Jiazi to Guihai, with 60 days as a week. Different from the "Tian" five elements in the official records, the official records are "authentic" five elements!

In ancient times, the Han people paired 60 units, each representing one day. If one day is Jiazi Day, the days after Jiazi will be pushed to Ugly B, Bingyin, Ding Mao and so on. The days before Jiazi were reversed to Guihai, Ren Xu and Xinyou.

Baidu Encyclopedia-Ganzhi Jiri