Here is the code:
var parseCurrentDate = Date.parse("March 7, 2009");
document.write("The number of milliseconds since 01/01/1970 to 07/03/2009 : "+parseCurrentDate);
Output will be displayed as:
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: April 18, 2011 If you enjoyed this post then why not add us on Google+? Add us to your Circles