JavaScript » Date » getSeconds

Syntax:
object.getSeconds( )

This method returns an integer between 0 and 59 that represents the seconds (local time) for the specified date.