摘要:
Date.prototype.Format = function (fmt) { var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "H+": this.getHours(), //小时 "m+": this.getMinutes(), //分 "s+... 阅读全文
摘要:
1 function theWeek(now) { 2 var totalDays = 0; 3 years = now.getYear() 4 if (years < 1000) 5 years += 1900 6 var days = new Array(12); 7 days[0] = 31; 8 days[2... 阅读全文