Date.prototype.getDay()
指定された日付の曜日を取得する函数
日付を取得したいときは、Date.prototype.getDate()をつかう
値の範囲は0 - 6
0が日曜日に対応する
#javascript
#2020-10-05 17:59:54