getSeconds
種類
メソッド
書式
Dateオブジェクト.getSeconds()
解説
秒を返します。
サンプルコード
function sampleCode()
{
dateObj = new Date();
n = dateObj.getSeconds();
txtField.data = n;
}
sampleCode();
実際のスクリプトを
ダウンロード