getMinutes
getSeconds
getTime
秒(0〜59)を返します。
date.getSeconds()
下記の値を入力するとサンプルに即時反映されます。
const
new
console
const date = new Date(); console.log(date.getSeconds()); // current second (0-59)