getDay

メソッド Type method
Dateオブジェクト.getDay() Format Date object. GetDay ()
Commentary
曜日を返します。 Returns the day of the week.
サンプルコード Sample code
dateObj = new Date(); dateObj = new Date ();
n = dateObj.getDay(); n = dateObj.getDay ();
d = "日月火水木金土".charAt(n); d = "Saturday, Tuesday Mizuki Kimu Moon". charAt (n);
outputs[0] = d; outputs [0] = d;