3 ms·
I think it's important to be able to work with mod(%) 12 for some operations on year <--> month relationship. All years have 12 months. For day of the month you
by _OOps_ 4y ago
I think it's important to be able to work with mod(%) 12 for some operations on year <--> month relationship. All years have 12 months. For day of the month you need additional logic to handle diferent lengths... and other issues.
- jefftk 4y agoThis could still work: https://news.ycombinator.com/item?id=32618016 https://news.ycombinator.com/item?id=32618016
- zzo38computer 4y agoThis reason makes sense. Note that different uses will have different useful conventions, and converting between them may be necessary. (Although this is true of more than only month numbering.)