getSeconds()
The current number of seconds set in the Date object. The Return Value ranges from 0 to 59 seconds.
This function will return the current number of seconds set in the specified Date object.
Examples