Counting to the year of the goat
Paste a small example into the tool and change one part at a time.
77 days to Saturday, February 6, 2027, and the line under the date reads Year of the Goat.
Days until Lunar New Year, or Chinese New Year, with the coming year's animal and its dates for the years ahead.
Last updated
Lunar New Year 2027
72 days
Saturday, February 6, 2027
Year of the Goat
Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.
Lunar New Year is the first day of the first month of the Chinese lunisolar calendar. Its months start on the day of a new moon, and a leap month about every three years keeps it in step with the sun, so the new year always lands between January 21 and February 20: February 6 in 2027, January 26 in 2028, February 13 in 2029 and February 3 in 2030.
The page computes the calendar from the astronomy (new moons and solar terms) in China's time zone, UTC+8. The big number counts calendar days, the clock runs to midnight as the day begins on your device, and a line under the date names the animal of the year that starts.
A new moon close to midnight can fall on different dates in different time zones, so Vietnam's Tết and Korea's Seollal sometimes differ from China's date: Seollal 2027 is on February 7, and Tết 2030 on February 2. The Vietnamese and Korean versions of this page count to their own dates.
lunardate package converts lunar dates to solar ones, and (year minus 4) mod 12 picks the animal.It shows the days to the next Lunar New Year, with the date.
The line under the date names the coming year's animal, such as Year of the Goat.
It runs to midnight as the new year's day begins on your device.
China's date is the one this page counts to. Korea and Vietnam count days in their own time zones.
| Year | China | Korea (Seollal) | Vietnam (Tết) | Animal |
|---|---|---|---|---|
| 2027 | Saturday, February 6 | February 7 | February 6 | Goat |
| 2028 | Wednesday, January 26 | January 27 | January 26 | Monkey |
| 2029 | Tuesday, February 13 | February 13 | February 13 | Rooster |
| 2030 | Sunday, February 3 | February 3 | February 2 | Dog |
Paste a small example into the tool and change one part at a time.
77 days to Saturday, February 6, 2027, and the line under the date reads Year of the Goat.
Copy the original value, run the tool, then compare the result.
25 days to Wednesday, January 26, 2028, the start of the year of the monkey. Until then it is still the year of the goat.
from lunardate import LunarDate
animals = ["Rat", "Ox", "Tiger", "Rabbit", "Dragon", "Snake", "Horse", "Goat", "Monkey", "Rooster", "Dog", "Pig"]
for year in range(2027, 2031): new_year = LunarDate(year, 1, 1).to_solar_date() print(new_year, animals[(year-4) % 12])LunarDate(year, 1, 1) is the first day of the first month, and to_solar_date() gives its Gregorian date. The output matches China's column in the table, from 2027-02-06 Goat to 2030-02-03 Dog.
Saturday, February 6, 2027. It begins the year of the goat.
It starts on a new moon, and the lunar year has 12 or 13 months, so the date moves between January 21 and February 20.
Usually, but not always. Each country counts days in its own time zone, so Seollal 2027 is on February 7 and Tết 2030 on February 2, a day off China's date.
The monkey, from January 26, 2028. Before that day, the year of the goat is still running.
The count is calendar days, and the clock runs to midnight as the new year's day begins, so partway through a day it is one day lower plus some hours.