|
发表于 2015-5-16 14:21:05
|
显示全部楼层
var ExpireTime2 = new Date();
var descm = justep.Date.decrease(ExpireTime2, 1, 'm');//m 代表月,d代表天,y代表年,中间的1是天数
var ksrq = justep.Date.toString(descm,justep.Date.STANDART_FORMAT_SHOT);
var jsrq = justep.Date.toString(new Date(),justep.Date.STANDART_FORMAT_SHOT);
justep.xbl('cdata').setValue("ksrq", ksrq);
justep.xbl('cdata').setValue("jsrq", jsrq);
justep.xbl('ds1').setStringVar("ksrq",ksrq);
justep.xbl('ds1').setStringVar("jsrq",jsrq);//ds1是我的report |
|