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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -