方法一:
var t = "2015-03-16";
var array = t.split("-");
var dt = new Date(array[0], array[1], array[2]);
// var dtt = new Date(t.replace("-g-/", ""));
方法二:
var remindTime = "2008-04-02 10:08:44";
var str = remindTime.toString();
str = str.replace("/-/g", "/");
//// str = str.replace("T"," ");
var oDate1 = new Date(str);