Regarding javascript new Date() and Date.parse()
<pre><code>  var exampleDate='23-12-2010 23:12:00';

  var date=new Date(exampleDate);//returns invalid Date
  var date1=Date.parse(exampleDate);//returns NAN
</code></pre>

<p>i want convert a above string into date. so i havea written a code as u have seen above. these code is runing fine IE and opera, but 'date' variable returning me a invalid Date and 'date1' returning NAN in mozilla Firefox, what should i do.
Its urgent help me.
Thankh you</p>
