getUTCSeconds < Date < JavaScript
The getUTCSeconds() method of the Date object returns the seconds in the specified date according to universal time.
const event = new Date('July 20, 2020, 20:18:04 UTC');
const utcSeconds = event.getUTCSeconds();
console.log(utcSeconds);
// 4