function q(now, timePeriodType) {
console.log('---------');
console.log(now);
console.log(timePeriodType);
var time_process_value = 0;
var time_process_total_value = 0;
if (timePeriodType == '月') {
time_process_value = now.getDate() - 1;
…… 阅读全文
javascript 计算当月当季当年的总天数和已过天数
Reply