3 ms·
5 sounds about right, months are counted 0 to 11 - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMonth https://develo
by kioleanu 6y ago
5 sounds about right, months are counted 0 to 11 - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getMonth https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
- eggy 6y agoThanks! I am use to 0-indexing in J and other PLs, but for some reason I thought month numbers were always cardinal numbers and should start at 1 in my subconscious!