How did JS `getYear` turn out this badly?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear
and day is `getDate`? Yeesh
#javascript
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/getYear
and day is `getDate`? Yeesh
#javascript
Date.prototype.getYear() - JavaScript | MDN
The getYear() method of Date instances returns the year for this date according to local time. Because getYear() does not return full years ("year 2000 problem"), it is deprecated and has been replaced by the getFullYear() method.MDN Web Docs
Doug Webb •
Thank f it's replaced. Still sad getYear will probably never be retired/updated to maintain backwards compatibility...