getSeconds

種類メソッド
書式 Dateオブジェクト.getSeconds()
解説
秒を返します。
サンプルコード
dObj = new Date();
alert("今は"+dObj.getSeconds()+"秒です。");
実際のスクリプトをダウンロード