var ctime = "2015/1/7 10:35";
var
ctime =
"2015/1/7 10:35"
;
ctime = ctime.replace(/-/g,
"/"
);
//为了兼容IE
date =
new
Date(ctime);