Date.prototype.setSeconds

Sets the seconds value in the Date object using local time.

Syntax

setSeconds(seconds, milliseconds?)

Parameters