Try the following:
new Date(Date.parse(myArr[0][0]));
EXAMPLE
Use the Date.parse method to parse the string into the number of milliseconds since January 1, 1970, 00:00:00 UTC. Take that number of milliseconds and call the Date method once again to turn that time into a date object.
EDIT:
Well this may be a little ugly for this case, but it seems Firefox is having an issue with the -
s and the 00.0
.
var myArr = [["2012-10-10 03:47:00.0", 23.400000000000002], ["2012-10-10 03:52:00.0", 23.3]];
var date = convertDateTime(myArr[0][0]);
console.log(date);
function convertDateTime(dateTime){
dateTime = myArr[0][0].split(" ");
var date = dateTime[0].split("-");
var yyyy = date[0];
var mm = date[1]-1;
var dd = date[2];
var time = dateTime[1].split(":");
var h = time[0];
var m = time[1];
var s = parseInt(time[2]); //get rid of that 00.0;
return new Date(yyyy,mm,dd,h,m,s);
}
EXAMPLE