摘要:
var weekDay = ["星期天", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];var dateStr = "2008-08-08 08:08:08"var myDate = new Date(Date.parse(dateStr.replace(/-/g, "/"))); alert(weekDay[myDate.getDay()]);
阅读全文
posted @ 2013-01-29 08:58
北极熊,我来了!
阅读(4464)
推荐(0)
编辑