Why is “same day next month” not always a simple calculation?
Show answer & explanation
Answer: Because months have different lengths, so some dates do not map neatly
Because months have different lengths, so some dates do not map neatly ✓ — Correct! Calendar arithmetic is tricky because months vary in length, so dates like January 31 do not fit neatly into every following month.
Because computers stop counting after 30 days — Wrong. Computers do not stop counting after 30 days.
Because time APIs only support weeks, not months — Wrong. Time APIs do support months; the challenge is that month arithmetic follows calendar rules, not fixed durations.
Go deeper: Gregorian calendar
Play today's quiz — new questions dailyMore Mathematics & Logic questions
- Why did Mesopotamian base-60 counting fit naturally with later minutes and seconds?
- Two noisy sensors both print messy 0s and 1s, but one tends to repeat its previous bit after warming up, so what should a randomness assessor worry about first?
- Why does pi appear so widely in nature and physics?
- Why does pi show up in waves and vibration?
- Why does pi appear in the normal distribution?
- Why does pi appear in Euler's formula?