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.
Leap year lunar months containing 29 or 30 days, generally in alternating order. However, the tabular Islamic calendar used by Islamic astronomers during the Middle Ages and still used by some Muslims does have a regular leap day added to the last month of the lunar year in 11 years of a 30-year cycle. This additional day is found at the end of the last month, Dhu 'l-Hijja, which is also the month of the Hajj. The Hijri-Shamsi calendar, also adopted by the Ahmadiyya Muslim Community, is based on solar calculations and is similar to the Gregorian calendar in its structure with