Traditional Culture Encyclopedia - The 24 Solar Terms - An algorithm for finding twenty-four solar terms. Non-lookup table method.
An algorithm for finding twenty-four solar terms. Non-lookup table method.
Solar term date speed algorithm: general birthday formula -[y× d+c]-l
Y= year, D=0.2422, L= leap year, and C depends on solar terms and year.
In this century, the C value of beginning of spring is 4.475, and the beginning of spring date of 20 17 is as follows:
[20 17×0.2422+4.475]-[20 17/4- 15]=492-489=3
So the beginning of spring date of 20 17 is February 3rd, but the value of c in the formula is different every century. So we still need to check the c value. You can find the source program of the longevity calendar to study the specific C value.
- Previous article:You can't wear a vest after what solar term?
- Next article:Is the night longer or shorter after the solstice in winter?
- Related articles
- How to cultivate and manage Peony in Central Plains in different months?
- Beginning of autumn Custom Food: Introduction of beginning of autumn Food.
- When can I pick green persimmons?
- The following statement about the 24 solar terms is wrong ()
- What's the date of Changxia? What's the date in the summer of 2022?
- What kind of tea should people drink in the light snow season?
- [Twenty-four solar terms say incense-long summer] Yi Xiang, Wan
- Meet the most beautiful solar terms
- What items do you need to do for Buick's 40,000 km maintenance?
- What is the fate of people born on a slight cold day? What food does Xiao Han eat?