The getSeconds() method returns the seconds portion of the Date object expressed as an integer from 0 to 59. A Simple Page