getSeconds

Gets the seconds of a Date object, using local time.

MDN Reference