下面一点JS完成当前日期+2个月的功能
execScript('dim n :dim d1: d1=now(): n = DateAdd("m", 2, d1)','vbscript');
var d = new Date(n);
alert(d.getFullYear() + "-" + (d.getMonth() + 1) + "-" + d.getDate() )
var d = new Date(n);
alert(d.getFullYear() + "-" + (d.getMonth() + 1) + "-" + d.getDate() )