Fortune Telling Collection - Comprehensive fortune-telling - Fortune telling algorithm programming _ Fortune telling algorithm programming software

Fortune telling algorithm programming _ Fortune telling algorithm programming software

Calculation method of birth date

How to calculate when a birthday is ugly, when it is cloudy, when it is Mao, when it is Chen, when it is noon, when it is Shen You and when it is Qi Wei.

23- 1 zai 1-3 at 3-5 at 7-9 at 9- 1 1-13 at 15.

How to calculate the date of birth The most accurate birth date calculation method Numerology, also known as four pillars and eight characters, refers to the time when a person was born, that is, year, month, day and hour. When people use heavenly stems and earthly branches to express year, month, day and hour respectively, such as Jiazi Year, Bingwu Month, Xin Chou Day, Renyin Time, etc. There are two words in each column and eight words in four columns, so the four-column forecast is also called batch eight characters, quantity eight characters, and also called four-column forecast. According to heavenly stems and earthly branches's relationship between Yin and Yang and the five elements, we can infer people's good or bad luck. If you understand the mystery, you can approve the eight characters yourself.

There are ten days of work: A, B, C, D, E, G, G, Xin, people and ghosts.

There are twelve branches: Zi, Ugly, Yin, Mao, Chen, Si, Wu, Wei, Shen, You, Xu and Hai.

The combination of the two can produce sixty units, which are called sixties. The year, month, day and time of birth are combined by heaven and earth, and there are exactly eight words, so it is called birth, also called the four pillars of human beings.

Details are as follows:

First, the chronological column

Chronicle, that is, the year when a person was born, is expressed by stem and branch. Note: The dividing line between last year and next year is based on the intersection time of beginning of spring, not on the first day of the first month. If someone was born at 22: 00 on February 4th, 2000 in the Gregorian calendar, since the lunar calendar handed over to beginning of spring in 2000 is at 20: 32 on February 4th, 2000, this person's chronology is the year of Chen Geng in 2000, not 1999.

Second, the moon column.

Moon column, that is, the festival in which the stems and branches represent the date of birth. Note that the monthly branch is not divided by the first day of each month in the lunar calendar, but by festivals. The festival before the handover is the festival of last month, and the festival after the handover is the festival of next month.

The lunar calendar takes November as the second month, December as the ugly month, and January as silver moon. Followed by Uzuki in February, Chen Yue in March, Mitsuki in April, noon in May, moonless in June, Shen Yue in July, unitary month in August, garrison month in September, and 10 sea month. But unlike December, it is marked by 24 solar terms.

In this way, as long as you know when your birthday is in the lunar calendar, you will know the earthly branch of your birth month.

Third, the sun column

The sun column refers to the day when people representing the main branches of the lunar calendar were born. Trunks and branches record a cycle every 60 days. Because months and leap years are different, trunks and branches need to find a perpetual calendar. In addition, the dividing line between day and day is divided by hours, that is, before eleven o'clock is the hour of the previous day, and after eleven o'clock is the hour of the next day. Don't think that midnight is the dividing point of a day.

Heavenly stems and earthly branches's birthday calculation is very complicated. It was decided by the ancient fortune teller on a certain day, and then pushed down in turn. If you want to know your birthday, you can only look up the perpetual calendar, which is a perpetual calendar compared with the yin-yang calendar. If you don't know when your birthday is in the lunar calendar, you can check the perpetual calendar. Fourth, the time bar.

The time column represents the time when a person was born. One hour in the lunar calendar spans two hours, so there are twelve hours in a day.

Purple stone: 23: 00 am-1

Ugly time: 1 point-3 am

Yin Shi: 3: 00 to 5: 00 a.m.

Shi Mao: From 5 am to 7 am.

Morning: 7: 00-9: 00 a.m.

Shi Si: 9 am-1 1

Noon: 1 1 point -65438+ 3 am

No time: 13 pm-15 pm

Application time: 15: 00- 17: 00 am

You Shi: in the afternoon 17- 19

Time: evening 19-2 1

Shihai: 2 1 point -23 points

The trunk of life can be derived from the trunk of birthday. In ancient times, a day was divided into twelve hours, corresponding to the twelve branches of the earth, but now two hours are one hour. It is midnight to morning 1, ugly to 3, Yin Shi to 5, noon to 1 13, untimely to 13, and 15. These are the earthly branches of life. Life dryness is calculated from the dryness of birthday.

Fifth, whether the five elements are missing from the date of birth.

Knowing the date of birth, we can infer the five elements. Generally speaking, as long as the five elements in the eight characters are even, life is good. It is not good for the sun to do too little and too much, and it is not good for many people to live with too much sun. Then, in order to judge what the five elements in the eight characters lack, what they have more or what restraint to use, we need to carefully analyze the five elements in birthdates.

In the sky, A and B belong to wood, C and D belong to fire, E and E belong to soil, G and Xin belong to gold, and Ren and Gui belong to water. Among the twelve earthly branches, Yin and Mao belong to wood, four or five belong to fire, Shen and You belong to gold, Hai and Zi belong to water, Chen ... >>

How to calculate the sun column in the date of birth, and what is the method? Heavenly stems and earthly branches is used to indicate the year, month, day and hour of a person's birth. Each paragraph is eight words, two words and four paragraphs. It's called birthday. The specific algorithm is very simple. You can find the name of your date of birth on the monthly card, such as the date of Wushen, the first month of the third year, the last time of birth, 23: 00- 1: 00, and you can know it through secondary calculation. Birthday, or eight characters, is actually another way of saying the four pillars of Zhouyi. Four pillars refer to the time when a person was born, that is, year, month, day and hour. When people use "heavenly stem" and "earthly branch" to represent year, month, day and hour respectively, such as Jiazi Year, Shen Bingyue, Guichou Day and Renyin Time, it contains the basic state of celestial movement when a person is born. There are two words in each column and eight characters in four columns, so fortune telling is also called "measuring eight characters" According to the relationship between yin and yang attributes and the five elements of heaven and earth, it is inferred that human body is responsible and blessed. It is always said that to get the correct birth time, the sundial is the most accurate measurement during the day. When the clock time is the artificial average time and the regional standard, it is necessary to calculate the "apparent solar time difference" according to the solar terms (ecliptic) and the "local longitude time difference" according to the place of birth, so as to get the real astronomical birth time. In the eight characters, the annual and daily branches are continuous and true; The monthly branch and the sea branch are calculated according to the annual branch and the daily branch, which can be said to be virtual. Birthday can only reflect the date of a person's birth at most, so it is not too much to record the time. Some people use birthdays to tell fortune, which is very unreliable. Because a person's fate is influenced by many conditions, besides the weather, there are also restrictions on the region and people he grew up in. Coupled with the different opportunities, how much can the influence of birth time account for? Arrange four columns in a figure of eight, which refer to the year, month, day and hour of a person's birth respectively. Four-column arrangement refers to finding a person's date of birth. It is mainly divided into four steps. Chronological columns, that is, the year when a person was born, are represented by branches. Note that the dividing line between last year and next year is based on the intersection time of beginning of spring, not on the first day of the first month. For example, someone was born at 22: 00 on February 4, 2000 in the solar calendar. Since the lunar calendar was handed over to beginning of spring at 20: 32 on February 4, 2000, this person's date is the year of Chen Geng in 2000, not 1999. The general algorithm of chronological column: the numbers from A to the deck of the sky stem correspond to 4, 5, 6, 7, 8, 9, 0, 1, 2, 3 respectively, and the numbers from the ground branch to Hai correspond to 4, 5, 6, 7, 8, 9, 10,1respectively. One year's trunk algorithm takes the last digit as the trunk, and the ground branch is the remainder of one year divided by 12. Take 1978 as an example, the last digit of 1978 is 8, the stem is E, and the remainder when 1978 is divided by 12 is 10, and the corresponding branch is noon, so 1978 is the year of Wuwu. Simple algorithm of chronology: the premise of this method is to know which zodiac year it is, which is generally used for fast calculation in recent years. Take 2009 as an example. As we all know, 2009 is the Year of the Ox. Since it is a cow, the earthly branches are of course ugly, and the last nine years of 2009 correspond to heavenly stems, so 2009 is an ugly year. Arranging moon columns and moon columns means using branches to represent the festival of people's birth. Note that the monthly branch is not divided by the first day of each month in the lunar calendar, but by festivals. The festival before the handover is the festival of last month, and the festival after the handover is the festival of next month. 1 month (silver moon) from beginning of spring to Jingzhe, February (Uzuki) from Jingzhe to Qingming, March (Chen Yue) from Qingming to long summer, April (Mitsuki) from long summer to awning, May (noon) from awning to light summer, June (non-month) from light summer to beginning of autumn, and July (Shen Yue) from beginning of autumn. Monthly trunk and annual trunk branches refer to 1 chart and monthly table. If the annual stem is a or self, then the stem in the first month of that year is C Yin; If the annual stem is B or G, the stem in the first month of that year is Wuyin; If the annual work is C or Xin, the work in the first month of that year is Geng Yin; If the annual stem is Ding or Ren, then the stem in the first month of that year is Ren Yin; If the year's work is the Reform Movement of 1898 or the year's work in the first month of that year is Jiayin. It has been three days since February in the third year of Lu Yingong (722 BC), and the record of China's main branch day has never stopped. This is by far the longest way to record a day known to human society. The solar column, that is, the day when a person was born, is represented by branches of the lunar calendar. The main branch's calendar is recorded every 60 days. Due to different months and flat leap years, the main branch needs to find a perpetual calendar (an online perpetual calendar website :site.baidu/li.....

How to calculate your date of birth? Calculating your birthday is very simple. There are many free eight-character typesetting tools on the Internet. You only need to input your date of birth, time of birth, place of birth and other information into the typesetting system, and then click the "typesetting" function button. The typesetting system can calculate your date of birth in less than two seconds.

For example, Anonymous was born in Taihe County, Ji 'an City, Jiangxi Province, at 6: 20 on July 23rd, 999 on Gregorian calendar/kloc-0. According to Xindali's online ordering system, his birthday is Ji Mao.

How to calculate the date of birth in ancient times, referred to as eight characters, refers to the date of a person's birth; Year, month and day have four pillars and branches, each with two words, a total of eight words, so it is called. Birthday plays an important role in Han folk beliefs, and ancient Han astrologers calculate people's fate accordingly. Eight-character prediction is developing continuously in practice. From Li's tripartite confrontation to Li's tripartite confrontation, and then to the four pillars of the sun, the moon and the moon, every step of progress contains the hard work of scholars and social practice activists in past dynasties. In order to get the correct birth time, the ancient Han people thought that the sundial instrument was the most accurate measurement during the day. When the clock time is the artificial average time and the regional standard, it is necessary to calculate the "apparent solar time difference" according to the solar terms (ecliptic) and the "local longitude time difference" according to the place of birth, so as to get the real astronomical birth time. In the almanac, there are basically annual and daily branches, while monthly and hourly branches can be calculated according to the annual and daily branches. Monthly trunk and annual trunk branches refer to 1 chart and monthly table. If the annual stem is a or self, then the stem in the first month of that year is C Yin; If the annual stem is B or G, the stem in the first month of that year is Wuyin; If the annual work is C or Xin, the work in the first month of that year is Geng Yin; If the annual stem is Ding or Ren, then the stem in the first month of that year is Ren Yin; If the year's work is the Reform Movement of 1898 or the year's work in the first month of that year is Jiayin. Zi Shi: 23: 00- 12: 59 morning ugly: 1: 00 morning: floating point -4: 59 morning -6: 59 morning-7: 00 morning -8: 59 morning: 9: 00 morning -65438 noon. -14: 59pm:15pm-16: 59pm:17pm-18: 59pm:19pm-20: 59pm If the trunk of that day is If the trunk of the day is B or G, the trunk of the day is C; If the Japanese stem is C or Xin, the Japanese stem is Wuzi; If the daily work is Ding or Ren, the daily work is Geng Zi; If a day's work is e or decyl, then a day's work is not nut.

How is the birthday calculated? Birthday, or eight characters, is actually another way of saying the four pillars of Zhouyi. Four pillars refer to the time when a person was born, that is, year, month, day and hour. When people use "heavenly stem" and "earthly branch" to represent year, month, day and hour respectively, such as Jiazi Year, Shen Bingyue, Xin Ugly Day and Renyin Time. There are two words in each column and eight characters in four columns, so fortune telling is also called "measuring eight characters" According to the relationship between yin and yang attributes and the five elements of heaven and earth, it is inferred that human body is responsible and blessed. However, what I want to talk about here is not how to "measure eight characters", but how to calculate eight characters.

Four-column eight-character arrangement

Four pillars refer to the year, month, day and time when a person was born. Four-column arrangement refers to finding a person's date of birth. It is mainly divided into four steps.

Chronological column

Chronicle, that is, the year when a person was born, is represented by branches. Note that the dividing line between last year and next year is based on the intersection time of beginning of spring, not on the first day of the first month. For example, if someone was born at 22: 00 on February 4, 2000 in the solar calendar, because the lunar calendar was handed over to beginning of spring in 2000 at 20: 32 on February 4, 2000, his chronological column is 2000.

Moon column

Moon column, that is, the festival when a person is born, is represented by stem and branch. Note that the branches and branches of the month are not divided by the first day of each month in the lunar calendar, but by festivals. The festival before the handover is the festival of last month, and the festival after the handover is the festival of next month.

January silver moon February Uzuki March Chen Yue April Mitsuki.

From beginning of spring to Jing Ke, from Jing Ke to Qingming, from Qingming to Long Summer, from Long Summer to Foolish.

May, afternoon, June, no month, July, application, August, whole month.

From Miscanthus to summer, from summer to beginning of autumn, from beginning of autumn to Bailu, from Bailu to Cold Dew.

September, moon, October, moon, November, December, ugly moon.

From cold dew to beginning of winter, from beginning of winter to heavy snow, from heavy snow to slight cold, from slight cold to beginning of spring.

The significance of the festival:

Beginning of spring in the first month: beginning of spring is the beginning, which means that the spring of the revival of all things has begun again. The warmer weather and the revival of all things mark the beginning of farming activities. February 4th or 5th of the solar calendar is the beginning of spring.

February: Spring thunder begins to roar, waking up insects and small animals that are dormant and hibernating in the soil. Winter eggs are about to hatch. This solar term means that spring is getting stronger and the temperature is rising. The surprise is on March 6 or 7 of the Gregorian calendar.

Qingming Festival in March: This solar term means that the temperature gets warmer, plants germinate, and a beautiful and clear scene appears in nature. Qingming is April 5 or 6 in the solar calendar.

Long summer in April: This solar term means that in long summer, hot weather is coming, and agricultural activities have entered the busy season in summer. Long summer falls on May 6th or 7th of the Gregorian calendar.

Miscanthus Maydis: Miscanthus Maydis refers to the fine hairs on the tip of the shell. In the north, this is the busiest season for harvesting wheat and planting rice. Miscanthus is on June 6 or 7 of the Gregorian calendar.

Summer in June: This solar term indicates that it has entered a midsummer day, and the heat is pressing. Summer falls on July 7 or 8 of the Gregorian calendar.

Beginning of autumn in July: This solar term means that the hot summer will pass and the crisp autumn will begin. August 8th or 9th in Gregorian calendar is beginning of autumn.

August White Dew: This solar term refers to the cold weather, and the water vapor in the air often condenses into white dew on plants and other objects at night. The Millennium falls on September 8 or 9 of the Gregorian calendar.

Cold dew in September: This solar term indicates the beginning of winter, indicating that the cold degree of the climate will gradually increase. Cold dew falls on June 8 or 9 in Gregorian calendar, 10.

Beginning of winter in October: This solar term means that the crisp autumn days have passed and the cold winter has begun. Beginning of winter in the solar calendar is165438+1October 7th or 8th.

1 1 month heavy snow: this solar term means heavy snow, and the solar calendar is 65438+February 7 or 8.

Slight cold in December: This solar term indicates the beginning of the coldest season in winter, with frost. The slight cold is 65438+ Gregorian calendar1October 5th or 6th.

The following is a monthly table from the beginning of the year.

Month/year methyl ethyl heptyl propyl octyl butyl nonadecyl decyl decyl

-

In the first month, Bing Shen Yin Wu Yin Gengyin Renyin Jiayin.

In February, Ding Mao has been established, Xin Mao has been established, and Gui Mao has been established.

March Chen Wu Chen Geng Ren Chen Chen Jia Chen Bing

April, a long time, a long time.

May Wu Geng Renwu Wu Jia Bingwu Wuwu

In June, Xin Wei's Return to Weft and Different Weft;

How to calculate the birth money is said to have been invented by Taoist Yuan Tiangang, which is a widely spread fortune-telling method. Now post the specific algorithm, and you can calculate it yourself. First of all, it is impossible for any algorithm to be 100% correct. Even if 100% is correct, it may change because of personal behavior (such as doing good or evil). There are many such examples in history. Anyway, I remind you not to be too obsessed with this! ! ! If this casts a shadow over anyone's mood, I will feel deeply uneasy.

Yuan Tiangang's bone weighing algorithm:

According to the personal horoscope (that is, the date and time of birth), find the weight of birth year, birth month, birth date and birth time in the attached content, and add the four weights to get the eight-character weight. Find relevant annotation poems according to the weight of eight characters. Generally speaking, the Chinese character is not easy to vibrate, that is to say, it is not easy to be disturbed by evil things. Of course, it is not easy to succeed in playing the game of evocation. Obviously, the heavier the eight characters, the better, and the lighter the better. It is not absolute, but in a general sense, the instructions of the eight characters are generally better than the light ones. The so-called general meaning is that what is good here may not be good in some people's eyes.

For example, 197 1 people born on the first day of the first month can find their annual weight 127 yuan, monthly weight 6 yuan, daily weight 5 yuan and hourly weight 126 yuan. Add them up:

1 Liang 7+6 Liang +5 Liang+1 Liang 6 =1.7+0.6+0.5+1.6 = 4 Liang 4 Liang.

Check the annotation poem again for 424 yuan:

4 Liang 4: The reason for coming is that heaven is not bitter, and you must know that Fulu wins the future. When the money was not satisfactory, the evening scene was happy without worrying about the weight of the birth year.

The weight of the year of birth is 60 years (that is to say, the weight of the years that are 60 years apart is the same).

This is the year.

1941:6can1942: 8can1943: 7can1944: 5can 1945: 1.25.

1946: 6 Qian 1947: 1 Liang 6 1948: 1 Liang 5 1949: 7 Liang 1950: 9 Qian |

195 1: 1 Liang 2 1952: 1 Liang1953: 7can 1954: 1 Liang 5/kloc.

1956: 5 Qian 1957: 1 Liang 41Liang 4 1959: 9 Qian 1960: 7 Qian.

196 1: 7 money 1962: 9 money 1963: 1 Liang 2 1964: 8 money 1965: 7 money.

1966: 1 Liang 3 1967: 5 Qian 1968: 1 Liang 4 1969: 5 Qian 1970: 9 Qian.

197 1: 1 Liang 7 1972: 5 Qian 1973: 7 Qian 1974: 1 Liang 21975.

1976: 8 Qian 1977: 6 Qian 1978: 1 Liang 9 1979: 6 Qian 1980: 8 Qian.

198 1: 1 beam 1982: 1 beam1983: 7can 1984: 1 Liang 2/kloc.

1986: 6 Qian 1987: 7 Qian 1988: 1 Liang 2 1989: 5 Qian 1990: 9 Qian.

1991:8can1992: 7can1993: 8can 1994: 1 Liang 51995: 9can.

1996: 1 Liang 61997: 8can1998: 8can 1999: 1 Liang 9 2000: 1 Liang 2.

Monthly weight:

January: 6 money February: 7 money March: 1 Liang August: 9 money.

May: 5 money June: 1 Liang June: 9 money August: 1 Liang 5.

September: 1 10 month: 8 money 1 1 month: 9 money1February: 5 money.

Weight of birthday:

Grade one: five dollars, grade two: one, two, three: eight dollars, grade four: one, two, five.

Day 5: 126, day 6: 125, day 7: Baqian, and day 8: 126.

Day 9: Eight Money, Day 10: 1261: Nine Money, 12: 127.

Thirteen: eight money fourteen: one two seventy-five: one two six: eight money.

Seventeen: nine dollars, eighteen: one two eight nine: five dollars, twenty: one two five.

Twenty-one: one, two, twenty-two: nine dollars, twenty-three: eight dollars, twenty-four: nine dollars.

Twenty-five: 12526: 128217: seven dollars and twenty-eight: eight dollars.

Twenty-nine: one, two, six, thirty: six dollars.

Time:

Child time: one, two, six ugly times: six dollars

Yin Shi: Seven money and stone spears: one or two.

Chen Shi: 9000 Shi Si: 126.

Noon: one or two: eight dollars.

Shen Shi: Baqian You Shi: ... >>

How to calculate date of birth?

How to calculate the time series of birthdays? Time branching algorithm: hours: 23: 00- 1: 00 ugly hours: 1: 00-3: 00 Yin Shi: 3: 00-5: 00 Shi Mao: 5:00- work: 00 Chen Shi: 7: 00-. 8+03: 00- 15: 00 Application time: 15: 00- 17: 00 One yuan time: 17: 00- 19: 00 hours: 654300. There are poems: A is still alive, B is the beginning, C is the beginning, C is the beginning, D is the beginning, D is the beginning, D is the beginning, E is the beginning. The meaning of this poem is: in the first or second day of junior high school, the heavenly stems of the hour are pushed down from the screwdriver, that is, Jia Zi, Yi Chou, Bing Yin, Ding Mao and Shun. On the second day or Geng day, the time column begins with a screwdriver C, that is, Bingzi, Ding Chou, Wuyin, Jimao, C Day or Xin Day; The heavenly stems of the time column begin with a screwdriver e, that is, Wuzi, Jichou, Gengyin, Xinmao, Dingri or Renri; The heavenly stems of the time column begin with a screwdriver G, that is, boxer, Xin Chou, Ren Yin and Xin Ri.