Date.prototype.getDate() - JavaScript | MDN

getDate() メソッドは、地方時に基づき、指定された日付の「日」を返します。