In October 1582, in those countries that adopted the new calendar immediately, the days from the 5th to the 14th never happened. Thursday 4 October was followed by Friday 15 October. People went to bed on one date and woke on another ten days later, and rents, feast days and contracts had to be adjusted accordingly.
Why the old calendar drifted
The problem was drift. The Julian calendar, introduced by Julius Caesar in 46 BC, assumed a year of 365.25 days — one leap day every four years. The actual tropical year, the time between one spring equinox and the next, is about 365.2422 days, roughly eleven minutes shorter. Eleven minutes a year does not sound like much, but by the sixteenth century it had accumulated to ten days: the spring equinox, which the Church used to fix the date of Easter, had slipped from 21 March to 11 March.
The fix, devised under Pope Gregory XIII and published in the papal bull Inter gravissimas in February 1582, did two things. It removed the ten days in one step, and it changed the leap-year rule so that the drift would not return: years divisible by four are leap years, except centuries, which are leap years only if divisible by 400. The average year became 365.2425 days, within about 26 seconds of the tropical year.
Who adopted it, and when
Adoption was not instant and not universal. Spain, Portugal and much of Italy changed in October 1582; France followed in December, by omitting ten days between the 9th and the 20th. Protestant Europe resisted for decades on political as much as astronomical grounds. Britain and its American colonies legislated for the change in the Calendar (New Style) Act 1750: from 1752 the legal year began on 1 January, and eleven days were omitted that September — Wednesday 2 September was followed by Thursday 14 September. The same act ended the older convention that the British legal year began on 25 March, which is why the tax year still ends in early April. Sweden tried a gradual route, dropping the leap day in 1700 with the intention of shedding the rest over forty years; the plan was abandoned in 1712, when February was given a 30th day to realign with the Julian calendar, and Sweden finally adopted the Gregorian calendar in 1753 by omitting eleven days in February. Greece did not adopt the new calendar until 1923.
The gap is still visible. Several Orthodox churches continue to use the Julian calendar for fixed feasts, which is why Orthodox Christmas falls on 7 January in the Gregorian calendar — thirteen days later, because the drift has continued since 1582. The difference will grow by one day in 2100, which the Gregorian rule treats as a common year and the Julian rule as a leap year.
What the reform shows is that a calendar is not a measurement but a treaty. The heavens supply the drift; the treaty decides who accepts the correction. Three centuries passed between the papal bull and the last major European state joining, and the disagreement left permanent marks on holidays, tax years and the dates of Christmas in different parts of the same continent.