JavaScript Reference/Javascript Methods/parse
"parse()" Example
<source lang="javascript">
<html> <body> <button onclick="var myDate = new Date();
alert(Date.parse(myDate));">parte a date</button>
</body> </html>
</source>
"parse()" is applied to
<source lang="javascript">
+----------------+--------------------------------------------------------------+ | Applied_To |Date | +----------------+--------------------------------------------------------------+
</source>
"parse()" Syntax, Parameters and Note
<source lang="javascript">
Note: Returns the number of milliseconds elapsed between the specified date and January 1, 1970.
Syntax:
dateName.parse(param1) Parameters:
param1 Required; the ending date of the calculation. </source>