This is my code :
var exampleDate=\'23-12-2010 23:12:00\'; var date=new Date(exampleDate);//returns invalid Date var date1=Date.parse(exampleDate);//
Above format is only supported in IE and Chrome.
so try with another formats. following are some formats and there supporting browsers.