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?
- Why does a noisy sensor that repeats its previous bit after warming up worry a randomness assessor more than a noisy sensor whose output just looks messier?
- 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 identity e^(iπ) + 1 = 0?