getMonth
getDate
getDay
日(1〜31)を返します。
date.getDate()
下記の値を入力するとサンプルに即時反映されます。
const
new
console
const date = new Date(2024, 0, 25); console.log(date.getDate()); // 25