メソッド Type method
Dateオブジェクト.setUTCHours(時) Format Date object. SetUTCHours (time)
Commentary
協定世界時の時を設定します。 Set the time of the Coordinated Universal Time. システムなどの時計には影響を与えません。 The clock does not affect systems.
サンプルコード Sample code
dateObj = new Date(); dateObj = new Date ();
dateObj.setUTCHours(6); dateObj.setUTCHours (6);
n = dateObj.getUTCHours(); n = dateObj.getUTCHours ();
outputs[0] = n; outputs [0] = n;