1 Reply Latest reply on Apr 8, 2014 9:21 AM by Magus069

    How do you add a Day to a Date Referenced from another field


      I tried this and all of the other Date Calcs in the other posts but can't get it to work. The field (Read Only Text or Calculated Date field:

      var MyDate=xfa.resolveNode("form1.#subform.RepeatableSubform.#subform.StartDate")


      if(HasValue(MyDate)) then

      Num2Date( (Date2Num(MyDate.formattedValue, "EEEE, MMMM D, YYYY") + 1), "EEEE, MMMM D, YYYY")




      Any Suggestions?