Date object was introduced in ECMAScript 1 in 1997.
Among others it has methods for getting
In my opinion methods naming are somewhat confusing.
getDate()returns day of month, not
Dateas name says.
getDay()returns day of week, which is not obvious from the name.
The idea is to rename these methods to more appropriate naming, reflecting its intention.
getDate() to be renamed to
getDayOfMonth() or even
getDay() to be renamed to
getDayOfWeek() or even
I'm not native English speaker, so one might propose better names. The idea is to make these names closer to their semantics.
Of course, for backward compatibility 'old' methods must not be deleted but marked deprecated instead as it was with pair