JavaScript Tutorial/Date/getSeconds
Date().getSeconds()
The getSeconds() method returns the seconds portion of the Date object expressed as an integer from 0 to 59.
<source lang="javascript">
<html> <head> <title>A Simple Page</title> <script language="JavaScript">
</script> </head> <body> </body> </html></source>