Hallo,
If I enter 31.12.2017 for a date input variable and then read the value with Groovy,
${groovy:
import java.util.Date
return vars.get("ExpireDate").getDateValue().format("yyyy-MM-dd")
}
I get the value 2017-12-30
${groovy:
import java.util.Date
return vars.get("ExpireDate").getDateValue()
}
or without formation Sat Dec 30 23:00:00 CET 2017
The evaluation always shows one day less than the number of days entered.
Georg