Better HN
top
new
best
ask
show
jobs
Log in
Sign up
_OOps_
1 karma · joined Aug 27, 2022 (4y ago) · 1 submissions
Submissions
comment 4y ago ·
link
·
parent
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.