赞
踩
function weekDay(date){
var dt = new Date(date.split("-")[0], date.split("-")[1]-1,date = date.split("-")[2]);
var weekDay = ["星期天", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"];
return weekDay[dt.getDay()];
}
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。