I currently have the following formcalc code in place that adds a number of days (based on a different calculation 'TotalDays' field) to a date, but would like for the new date calculation to include only weekdays. Is there a way to do this? var begindate=Date2Num(xfa.resolveNode("SecB\.Date\.4"), ...