JavaScript Reference/Javascript Methods/getMilliseconds — различия между версиями
(нет различий)
|
Версия 21:30, 25 мая 2010
"getMilliseconds()" Example
<source lang="javascript">
<html> <body> <button onclick="var myDate = new Date();
alert(myDate.getMilliseconds());">
get milliseconds </button> </body> </html>
</source>
"getMilliseconds()" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |Date | +----------------+--------------------------------------------------------------+
</source>
"getMilliseconds()" Syntax, Parameters and Note
<source lang="javascript">
Note: Returns the number of milliseconds elapsed during its current second. Return value: 0 to 999.
Syntax:
dateName.getMilliseconds()
</source>