JavaScript getSeconds()

The getSeconds() method returns the seconds of a date as a number (0-59):