Date parse Example : Date Parse « Date Time « JavaScript DHTML






Date parse Example

 
    
<html>
<body>
<button onclick="var myDate = new Date(); 
                 alert(Date.parse(myDate));">Date: PARSE</button>
</body>
</html>

    
      
        
  








Related examples in the same category

1.Use regular expression to check a date
2.Find a date string with regular expression