The Islamic calendar, also known as the Hijri calendar, is a lunar calendar consisting of 12 months in a year of 354 or 355 days, primarily used to determine the proper days of Islamic holidays and rituals. It is based on the phases of the Moon, with each month beginning when the lunar crescent is first seen after a new moon, making it about 10 to 12 days shorter than the solar Gregorian calendar.