Remix.run Logo
alexanderchr 4 days ago

Maybe I’m missing something but then what is 30 days after Christmas? 25389?

mpyne 4 days ago | parent [-]

25389 mod 365, presumably. The very fancy mainframes probably would pick the appropriate modulus based on whether it was a leap year or not.

cortesoft 4 days ago | parent [-]

What happens when you want to add more than 365 days to a date, then?