标签:jquery 获取 query func day cti str bsp mda
function getParamDate(n){
var date = new Date();
date.setDate(date.getDate() + n);
var year = date.getFullYear();
var month = date.getMonth + 1;
if(month < 10){
month = "0" + month;
else{
month = "" + month;
}
var day = date.getDate();
if(day< 10){
day= "0" + day;
else{
day= "" + day;
}
var str = year + month + day;
}
标签:jquery 获取 query func day cti str bsp mda
原文地址:https://www.cnblogs.com/zj68/p/12793267.html