Javascript GetSeconds() Function

The getSeconds() method of date object returns seconds of the specified date. Use it for example to get seconds of the specified date.

Syntax

Javascript GetSeconds() Function Example

This will produce following result