Forum Discussion

Said's avatar
Said
Contributor
6 years ago

formula in property test step

Hi, I would like to have a date formula in a property test step that gets date from another property and adds extra days to it. I know I can do this easily in groovy, but I am wondering if this is p...
  • TwoFang's avatar
    6 years ago

    add " around the ${Properties#dateFormula} value in dateFromString2 and it should work

    i.e.

    DateString2 = ${= Date.parse("yyyy-MM-dd'T'HH:mm:ss", "${Properties#dateFormula}").format("yyyy-MM-dd'T'HH:mm:ss")}