Date.prototype.getUTCSeconds

Returns the seconds in a date using Universal Coordinated Time (UTC).

Syntax

getUTCSeconds()

Return value

A number representing the seconds of a Date, using UTC.