setUTCSeconds

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