getUTCMonth

メソッド Type method
Dateオブジェクト.getUTCMonth() Format Date object. GetUTCMonth ()
Commentary
協定世界時の月を返します。 Returns the month in Universal Coordinated Time. 実際よりも1少ないになります。 Than the actual value a little.
サンプルコード Sample code
dateObj = new Date(); dateObj = new Date ();
n = dateObj.getUTCMonth() + 1; n = dateObj.getUTCMonth () + 1;
outputs[0] = n; outputs [0] = n;