getSeconds < Date < JavaScript
The getSeconds() method of the Date object returns the seconds for the date according to local time.
const event = new Date('July 20, 2020 21:36:00');
const seconds = event.getSeconds();
console.log(seconds);
// 0