摘要:
var now = new Date(); //当前日期var nowDayOfWeek = (now.getDay() == 0) ? 7 : now.getDay() - 1; //今天是本周的第几天。周一=0,周日=6var nowDay = now.getDate(); //当前日var nowMonth = now.getMonth(); //当前月值(1月=0,12月=11)var nowMonReal = now.getMonth() + 1; //当前月实际数字var nowYear = now.getFullYear(); //当前年//日期+天function AddDay 阅读全文
posted @ 2013-06-08 15:46
星火卓越
阅读(9529)
评论(0)
推荐(0)