[求助]2006-08-04 16:48:28转化
var FeedTime = new Date("2006-08-04 16:48:28");var strFeedTime = FeedTime.getFullYear()+"-";
strFeedTime += (FeedTime.getMonth() >= 9 ? FeedTime.getMonth()+1 : ("0"+(FeedTime.getMonth()+1)))+"-";
strFeedTime += FeedTime.getDate()+" ";
strFeedTime += FeedTime.getHours()+"-";
strFeedTime += FeedTime.getSeconds()+"-";
strFeedTime += FeedTime.getMinutes();
alert(strFeedTime);
弹出的时间是NaN............. 为什么.