convertir la date en millisecondes

var msec = Date.parse("March 21, 2012");

var d = new Date(msec);

document.getElementById("demo").innerHTML = d;
Alive Albatross