JavaScript Tutorial/Date/getSeconds

Материал из Web эксперт
Перейти к: навигация, поиск

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>