i have been trying to figure this out, but with no luck as of yet. i have a date field on my pdf that i want to populate the next day in another date field. i am not to familiar with JavaScript, and i know you ca do it in VBA with just something as a single line of:
DateAdd("d","Date 1 Field",1))
and be done. how do i do that with adobe acrobat? i have tried to pull it is in as a var first and then add milliseconds to it.:
var PreviousDate = this.getField("Date1").value;
var OneDay = 1000 * 60 * 60 * 24;
var NewDate = PreviousDate+OneDay;
event.value = NewDate;
but i still get nothing