getSeconds

external fun getSeconds(): Int(source)

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

MDN Reference