メソッド Type method
Dateオブジェクト.setSeconds(秒) Format Date object. SetSeconds (s)
Commentary
秒を設定します。 Set seconds. システムなどの時計には影響を与えません。 The clock does not affect systems.
サンプルコード Sample code
dateObj = new Date(); dateObj = new Date ();
dateObj.setSeconds(49); dateObj.setSeconds (49);
n = dateObj.getSeconds(); n = dateObj.getSeconds ();
outputs[0] = n; outputs [0] = n;