javascript - Calculating dates in Acrobat -
i'm trying create acrobat form automatically calculates/increments dates. javascript need this?
my solution:
var d1 = new date(this.getfield("starting").value); var num = d1.valueof(); num += 1000 * 60 * 60 * 24; var d2 = new date(num); event.value =util.printd("m/d/yy", d2);
Comments
Post a Comment