<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src="http://datejs.googlecode.com/files/date.js"></script>
<script type='text/javascript'>
document.write(Date.parseExact("10/21/2010 12:00:00 PM", "M/d/yyyy hh:mm:ss tt"));
</script>
</head>
<body>
</body>
</html>