Can anyone guide me how to modify below scripts in order reach objective of result excluding weekend and public holidays after adding 2 days on current date?
var strStart = this.getField("Today").value;
if(strStart.length)
{
var dateStart = util.scand("dd mmmm yyyy",strStart);
var oneDay = 24 * 60 * 60 * 1000;
var dueMillis = dateStart.getTime() + 2 * oneDay;
var dueDate = new Date(dueMillis);
event.value = util.printd("dd mmmm yyyy",dueDate);
}
Thanks a lot.
- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com