The Gregorian calendar is the calendar that is used throughout most of the world. It began being used in 1582. It replaced the previous Julian calendar because the Julian calendar had an error: it added a leap year (with an extra day every four years) with no exceptions. The length of the Julian year was exactly 365.25 days (365 days and 6 hours), but the actual time it takes for the Earth to go around the Sun once is closer to 365.2425 days (about 365 days, 5 hours and 49 minutes). This difference is about eleven minutes each year.