Calendar world for civil purposes. It is a purely solar calendar, with a cycle of leap days in a 400-year cycle designed to keep the duration of the year aligned with the solar year. Each Gregorian year has either 365 or 366 days (the leap day being inserted as 29 February), amounting to an average Gregorian year of 365.2425 days (compared to a solar year of 365.2422 days). It was introduced in 1582 as a refinement to the Julian calendar which had been in use throughout the European Middle Ages, amounting to a 0.002% correction in the length of the year.
Calendar reform months and replaced the intercalary month with an intercalary day to be inserted within February every four years. This produced a noticeably more accurate calendar, but it had an average year length of 365 days and 6 hours (365.25 d). This had the effect of adding about three-quarters of an hour every four years. The effect accumulated from inception in 45 BC until by the 16th century the northward equinox was falling on March 10 or 11. Under Pope Gregory XIII, the leap year rule was altered: century years which are not divisible by 400 would be common years. So