Why date calculators disagree with each other

Short answer: a month is not a unit of time. It is a field on the calendar that runs from 28 days to 31, so “add a month” has to be defined before it can be computed — and every system defines it differently without saying so.

4 min read · last checked 2026-09-08

Advertisement

Put the same two dates into three different calculators and you can get three different answers. That is not usually a bug in any of them. It is that several of the questions people ask about dates do not have one correct answer, and each tool has quietly picked one without telling you which.

The clearest case is the one that sounds least controversial: adding a month.

Three boxes answering the question of what date falls one month after 31 January 2026. Clamping to the last day of the month gives 28 February. Adding thirty days gives 2 March. Letting the day overflow into the next month, which is what JavaScript does, gives 3 March.
Three rules a reasonable person might choose, three different dates, and no way to call any of them wrong. Whichever one your software picked, it did not mention it.
The tool Age Calculator Exact years, months and days, the weekday you were born, and the next birthday.

A month is not a length

Seconds, minutes, hours and days are durations: they have a size that does not depend on when you start. Months are not. February is 28 days, or 29; the rest are 30 or 31. So "one month later" is not arithmetic on a number line — it is a move on a grid, and the grid has ragged edges.

That is why the three answers above all exist. Clamping keeps you in February, which feels right if you think of it as "the same sort of day next month". Overflowing gives 3 March, which feels right if you think of dates as numbers that carry. Adding thirty days is a genuine duration, and lands somewhere else again.

The practical consequence is worth carrying around: if a deadline is expressed in months and it matters, find out which rule applies. Contracts and statutes usually say. Software usually does not.

Why your age is not days divided by 365

Ages are counted in anniversaries, not in elapsed time, and the two do not line up.

Somebody born on 20 May 1990 has been alive 13,260 days as of today. Divide by 365 and you get 36.33; divide by 365.25 and you get 36.30; the answer everybody actually uses is 36, because that is how many times the date has come round. The fraction is not "how far into your thirty-seventh year you are" in any of those calculations, and the three disagree with each other about it.

The Gregorian year averages 365.2425 days — 146,097 days in every 400 years, exactly — but no individual year is that long, so any division is an approximation of something the calendar was not doing in the first place. An age calculator that reports years, months and days is counting the grid, which is what a birth certificate does too.

The 29 February problem

Somebody born on 29 February has a birthday in 2024 and 2028, and none in 2025, 2026 or 2027. So on 28 February 2027, are they a year older or not?

There is no universal answer. Different jurisdictions land differently for legal purposes — some treat 1 March as the anniversary, some 28 February — and software mostly just picks one. If a leap-day date is doing legal work, it is worth checking rather than assuming, and if it is doing social work, the person concerned has almost certainly already decided.

"Between" is not one operation either

From Monday the 2nd to Friday the 6th is five days if you count both ends and four if you count only the gap. Both are right; they answer different questions. "How long am I away" counts both, "how many days until" counts neither.

Add weekends and public holidays and the same range yields several more legitimate numbers. That is why the working days calculator here asks which convention you want and prints the one it used underneath the answer, instead of picking silently and being the fourth tool that disagrees with the other three.

A date is not an instant

"8 September" is not a moment in time. It is a moment plus a place — and while it is the 8th in Buenos Aires it may already be the 9th in Tokyo. Anything with a deadline of "the 15th" has an unstated timezone in it, and the unstated one is usually the sender's.

Worse, the gap between two places is not constant. Clocks move twice a year and not on the same weekend, so between the two changes the usual difference is an hour out. Measured across 2025, 2026 and 2027, London and New York spend 21, 21 and 14 days each spring at four hours apart instead of five. The time zone converter warns when a clock change falls near the date you are asking about, which is the window where meetings go wrong.

The 23-hour day

One more consequence of the same thing, and the one that produces silent bugs rather than arguments. On a clock-change weekend a local day is 23 or 25 hours long. Anything that counts a range by adding 24 hours at a time to a local date will therefore skip or repeat a day, twice a year — in March and October, which are exactly the months people count their holiday allowance in.

It is invisible when it happens, because the total is only wrong by one and nobody recounts. Tools that work in universal time do not have the problem at all, which is why the counting here does.

What to do about all this

Three habits cover most of it. When a deadline is in months, ask what happens at the end of the month. When a range is quoted in days, ask whether the last day counts. And when a time crosses a border, say the zone out loud — "3pm London" costs four characters and removes the whole class of problem.

Advertisement
Advertisement

Common questions

Why do date calculators give different answers?

Because several date questions have more than one defensible answer and each tool picks one silently. One month after 31 January is 28 February if you clamp to the last day, 3 March if you let the day overflow, and 2 March if you add thirty days. All three are real behaviours of real software.

What is one month after 31 January?

It depends on the rule. Clamping to the last day of the target month gives 28 February. Letting the day number overflow gives 3 March, which is what JavaScript does by default. Adding thirty actual days gives 2 March. Contracts and statutes usually specify which; software usually does not.

Why is my age not the number of days divided by 365?

Because age counts anniversaries, not elapsed time. The Gregorian year averages 365.2425 days — exactly 146,097 days every 400 years — but no individual year is that long, so any division approximates something the calendar was not doing. Counting how many times the date has come round is the answer everybody actually uses.

When does someone born on 29 February have a birthday?

In leap years, on 29 February. In the other three years there is no such date, and there is no universal rule: some jurisdictions treat 1 March as the anniversary for legal purposes, some 28 February, and software mostly picks one without saying. If the date is doing legal work, check rather than assume.

Should the last day count in a date range?

It depends on the question. “How long am I away” counts both ends, making Monday to Friday five days. “How many days until” counts neither, making it four. Neither is more correct, which is why a calculator should say which it used rather than leave you to work it out from the number.

Why does a date range come out one day wrong twice a year?

Because on clock-change weekends a local day is 23 or 25 hours long, so counting a range by adding 24 hours at a time to a local date skips or repeats one. It happens in March and October, it is off by exactly one, and nobody recounts. Working in universal time removes it entirely.

More guides

What is a HEIC file, and why will your PC not open it?

Half the size of a JPG, and a patent licence is why Windows refuses it.

How to get a PDF under an upload limit

Most PDFs cannot be compressed at all. Ten seconds tells you which kind you have.

Why WhatsApp ruins your photos, and how to send one properly

It re-compresses every picture you send. There is one way around it, and it is not the quality setting.

JPG or PNG: which should you use?

Photographs, JPG. Hard edges or transparency, PNG. The reason is worth two minutes.

How to get a photo under a KB limit

The quality slider is the wrong first move. Pixels are the lever that works.

Are QR codes safe? What is actually inside one

Nothing inside one can run. The risks are the destination, the sticker over the original, and who owns the code.

Why video files are so big, and what actually shrinks them

Bitrate times length is the file size. Everything else follows from that.

MP3, WAV or M4A: which audio format, and at what bitrate?

128 kbps is about a megabyte a minute. Everything else follows from that.

Percentages, and the four sums people actually get wrong

20% off then 10% off is not 30% off, and adding 20% then taking it back leaves you short.

How to take a passport photo at home that is not rejected

The rule is the height of your head, not the size of the photo — and the shadow behind you is geometry.

How to make a ringtone, and why the cutting is the easy part

Android takes an MP3 straight. An iPhone wants an M4R, which is an M4A with a different extension.

Compound interest, in both directions

Savings growing and a card balance running away are the same sum. Only the side you are standing on differs.

What actually happens when a password leaks

Why one company’s bad week becomes your problem at forty other sites — and the single habit that breaks the chain.

What you can change in a PDF without Acrobat

Moving pages and stamping them costs nothing. Changing the words is the one genuinely hard edit, and this is why.

Are electronic signatures legally binding?

Valid nearly everywhere — but a drawn signature proves the mark is there, not who put it there. What that changes, and when it is not enough.

Why background removal cuts off hair

Hair, glass and plants come out ragged for a reason that is not fixable by trying another site. What causes it, and what to photograph instead.

Why OCR gets text wrong

Why the mistakes land in invoice numbers rather than in sentences, what actually ruins a scan, and how to photograph a page properly.

What the numbers on a barcode mean

Three fields and a checksum. Why “690 means made in China” is wrong, and how the last digit is worked out from the others.

What fitness numbers actually tell you

Why the level a fitness formula gives you is usually wrong, why the change usually is not, and which of the two is worth watching.

What has to be on an invoice

The blocks nearly every country expects, the two that people get wrong, and why “net 30” gets paid later than a date.

Subtitles: a separate file, or burned into the video?

A file the player draws, or pixels in the picture. What each costs, and why automatic captions get names wrong and sentences right.

Why your final grade is not the average of your grades

The same four marks give 82.5 averaged and 74.0 weighted. How weighting works, and what you really need on the final.

Advertisement