Time and dates: the calendar as a machine
The calendar is an engineering compromise, and almost everything odd about dates is that compromise showing through. The trouble is that the Earth’s year is not a whole number of days: it takes on average about 365.2425 days to orbit the Sun. You cannot put a quarter of a day on a wall chart, so the calendar absorbs the fraction in machinery — leap years, week numbers that occasionally hit 53, months of uneven length. An ordinary year has 365 days; a leap year, like 2024, has 366. Once you see the fraction being managed, the strangeness stops being strange.
What the machinery includes
The leap-year rule is the main gear. Add one day every four years and you almost fix the drift, but not quite — so the Gregorian calendar drops the leap day in three out of every four century years. That is why 1900 was an ordinary year and 2000 was a leap year. Across a full 400-year cycle this leaves exactly 97 leap days, which averages the year out to 365.2425 days.
Week numbers are the second surprise. In the ISO system a year usually holds 52 weeks, but the leftover days mean some years stretch to 53. 2026 is one of them. Because ISO weeks run Monday to Sunday and belong to the year that owns their Thursday, dates near New Year can land in a neighbour’s count: 1 January 2027 falls in week 53 of 2026, while 30 December 2024 already belongs to week 1 of 2025.
Month lengths are the third, and they are not astronomy at all. The record shows the Roman calendar originally began the year in March, which is why February — then the final month — was left to carry the shortfall, and why September through December still bear names meaning seven to ten. Julius Caesar’s reform, the Julian calendar of 45 BC, fixed month lengths close to what we use now. But the Julian year assumed exactly 365.25 days, which ran about eleven minutes long and drifted roughly one day every 128 years. Pope Gregory XIII’s reform of 1582 corrected the leap rule and erased the accumulated error in one stroke: in the first adopting countries, October 1582 simply skipped ten days, so the 4th was followed by the 15th. Adoption spread slowly — historians date Britain and its colonies’ switch to 1752, by which point eleven days had to be dropped.
What you can do here
From this page you can count the exact days between any two dates, check which weekday or ISO week number a given date falls on, and read the deeper guides on leap years, week numbers, the Gregorian calendar and how UTC anchors clock time across the world. Each tool does the arithmetic for you, so the fraction stays where it belongs — inside the machine.
Last reviewed 7 July 2026
Calculate it
Days between two dates, working days, add or subtract days, and the weekday or ISO week of any date.
Tool Age CalculatorYour exact age in years, months and days — leap-day-safe, with the day of the week you were born.
Tool Annual Leave OptimiserWhere to spend your leave days for the most consecutive days off — computed from each country’s 2026 public holidays.
ToolUnderstand it
The full leap-year rule — including the century exception most people never meet — and why the calendar needs it.
Guide Counting days between datesInclusive or exclusive, calendar days or working days — the counting choices that change the answer by a day or more.
Guide Bridge days: the arithmetic of long weekendsA holiday on a Tuesday means one leave day buys four days off. How bridge days work and how to spot the best ones.
Guide Week numbers, explainedHow ISO week numbers are assigned, why some years have 53 weeks, and why 30 December can belong to next year.
Guide Why the months have different lengthsWhy February is short and the rest are a jumble: the Roman calendar politics still printed on every wall calendar.
Guide UTC and time zonesWhat UTC is, how time zones offset from it, and why two places can be on different dates at the same moment.
GuideCompare
See it in numbers
The weekday arithmetic of one year, worked through: total days, weekends, and Monday-to-Friday working days.
Example Born on 29 February: how leap-day birthdays workA 29 February birthday arrives every four years — how the maths of leap-day ages actually works out.
ExampleKey terms
Follow the rabbit hole
One idea leads to the next. Start anywhere.
- What is compound interest?A plain explanation of compound interest, why it accelerates, and why it matters for anyone saving or borrowing.
- How compound interest worksThe four moving parts — principal, rate, frequency and time — and how each one changes what you end up with.
- The compound interest formula, explainedWhat FV = P(1 + r/n)^(nt) actually says, term by term, with a worked calculation you can follow.
- The Rule of 72A mental shortcut for how long money takes to double — how it works, how accurate it is, and where it breaks down.
- Compound interest and inflation: real returnsWhy the growth you see is not the growth you get, and how to think about returns after inflation.
- Why compound interest makes pensions workHow decades of compounding do most of the work in a pension, and why starting earlier beats contributing more.
Questions people ask
Is every fourth year a leap year?
Almost: century years are skipped unless divisible by 400. So 1900 was not a leap year, 2000 was, and 2100 will not be. The exception keeps the calendar aligned with a year that is slightly shorter than 365.25 days.
How many days are in a year?
365 in an ordinary year, 366 in a leap year like 2024. Averaged over the Gregorian calendar's full 400-year cycle, a year is 365.2425 days — the fraction is why leap years exist.
Can a year have 53 weeks?
Yes. In the ISO week system, a year that starts on a Thursday — or on a Wednesday in a leap year — contains 53 numbered weeks, and 2026 is one of them.
How are working days counted?
Working days conventionally means Mondays to Fridays, so a Friday deadline moved three calendar days lands on Monday — one working day later. Public holidays differ by country, so they are subtracted separately from your national list.
Why does February have only 28 days?
Because the Roman year originally ended in February, the month that absorbed the calendar's arithmetic shortfall — a shape later reforms preserved rather than fixed. The record shows the month lengths we use were settled close to their present form by the Julian reform and left alone since.
Why does the week have seven days?
Historians trace the seven-day week to ancient Near Eastern tradition, with the seven classical 'planets' visible to the naked eye shaping the day names many languages still carry. Unlike the day or the year, the week matches no astronomical cycle — it survives because everyone agreed on it.
What is the difference between UTC and GMT?
UTC is the modern reference standard, kept by atomic clocks and coordinated internationally; GMT is the older solar-time term that now mostly survives as the name of the winter time zone in Ireland and the UK. On an everyday clock they read the same — the difference is the machinery behind them.
When do people born on 29 February celebrate their birthday?
In non-leap years, most people born on 29 February celebrate on 28 February or 1 March — convention, and in some places a legal definition for milestone ages, decides which. The date itself returns every four years: someone born on 29 February 2000 had seen just 6 actual leap-day birthdays by 2026.
How do I work out my exact age in years, months and days?
Work out your exact age by counting completed calendar units in order: full years since birth, then full months, then whatever days are left over. Someone born on 7 July 1990 is exactly 36 years, 0 months and 0 days old on 7 July 2026, having lived 13,149 days. An age calculator does this in one step and handles 29 February birthdays exactly, so you never have to work out leap-year rules by hand.
How do I get the most days off from my annual leave?
Spend your leave days connecting holidays to weekends rather than sitting them in the middle of an ordinary week. A public holiday that falls on a Tuesday is the valuable case: one leave day taken on the Monday buys four consecutive days off. Which dates are worth targeting depends on your country's holiday calendar and which weekday each holiday lands on that year, so the best plays change annually. Because the calendar is fixed and known in advance, an optimiser can search every combination of leave days deterministically and find the pattern that returns the most days off for the fewest leave days used.
What is a bridge day?
A bridge day is a single day of annual leave taken between a public holiday and a weekend, joining the two into one unbroken run of days off. It works because it removes the one working day that would otherwise split the break in two. Bridge days are the most efficient way to spend annual leave: a public holiday on a Tuesday or Thursday means one leave day can buy four consecutive days off instead of just a long weekend. Which dates qualify depends on where the public holiday falls in a given year, so the same holiday can offer a bridge day one year and not the next.