3 ms·
I was meaning in the context of JavaScript, where the first day is 1 and the first month is 0. A case can be made for either 0 (for consistency with time repre
by dspillett 5y ago
I was meaning in the context of JavaScript, where the first day is 1 and the first month is 0.
A case can be made for either 0 (for consistency with time representation) or 1 (to go with the defacto standard of how most if us bipedal meatsacks process dates) but there must have been alcohol or something stronger involved when the current date object came into being.
- globular-toast 5y agoErm... nobody was arguing for it being the current way. That's retarded. This whole thread is about making them both 0-based rather than both 1-based.