The Gregorian calendar is the calendar used in most of the world. It was introduced by Pope Gregory XIII in 1582 as a reform of the Julian calendar. It has 12 months, with 30 or 31 days each, and February having 28 days in common years and 29 days in leap years. The calendar is based on the solar year and is the most widely used civil calendar today.