The Gregorian calendar, the system we use today, was introduced by Pope Gregory XIII in 1582. It still consists of twelve months, but the length of each month varies.