Date.setSeconds

Number setSeconds (Number seconds)

Parameters

seconds An integer value from 0 to 59.

Description

Sets the seconds of a specified Date object according to local time.

Returns the number of milliseconds between the new date and midnight, January 1, 1970.