Skip to content

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 neatlyCorrect! 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 daysWrong. Computers do not stop counting after 30 days.

Because time APIs only support weeks, not monthsWrong. Time APIs do support months; the challenge is that month arithmetic follows calendar rules, not fixed durations.

🚀 Play today's quiz — new questions daily

More Technology questions