Hacker News new | ask | show | jobs
by alexanderchr 324 days ago
Maybe I’m missing something but then what is 30 days after Christmas? 25389?
1 comments

25389 mod 365, presumably. The very fancy mainframes probably would pick the appropriate modulus based on whether it was a leap year or not.
What happens when you want to add more than 365 days to a date, then?