'parse()' Example : parse « Javascript Methods « JavaScript Reference

'parse()' Example

    
<html>
<body>
<button onclick="var myDate = new Date(); 
                 alert(Date.parse(myDate));">parte a date</button>
</body>
</html>

    
      
      








Related examples in the same category

1.'parse()' Syntax, Parameters and Note
2.'parse()' is applied to