Chinese calendar by mountain peoples. After Qin Shi Huang unified China under the Qin dynasty in 221 BC, the Qin calendar () was introduced. It followed most of the rules governing the Zhuanxu calendar, but the month order was that of the Xia calendar; the year began with month 10 and ended with month 9, analogous to a Gregorian calendar beginning in October and ending in September. The intercalary month, known as the second "Jiǔyuè" (), was placed at the end of the year. The Qin calendar was used into the Han dynasty. Emperor Wu of Han introduced reforms halfway through his
Julian calendar before the Julian reform, that the tropical year was slightly shorter than 365.25 days, the calendar did not compensate for this difference. As a result, the calendar year gains about three days every four centuries compared to observed equinox times and the seasons. This discrepancy was largely corrected by the Gregorian reform of 1582. The Gregorian calendar has the same months and month lengths as the Julian calendar, but, in the Gregorian calendar, year numbers evenly divisible by 100 are not leap years, except that those evenly divisible by 400 remain leap years. (Even then, the Gregorian calendar diverges from