127
January 1st is not always on the first week of the year
(www.jpvalencia.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I understand that. Because the months are zero indexed. But it’s not just the first month that’s “0-indexed”. The list of months is zero indexed. Perhaps I’m arguing semantics - but was simply adding clarity for the reader.
1st becomes 0, 2nd becomes 1, 3rd becomes 2
Yeah, but when days are 1-indexed and month are 0-indexed you just feel it's a very JavaScript thing to do
Yeah absolutely. I’m not disagreeing or saying it’s good.
I’m just correcting the strange wording.