Solved
Forum Discussion
PaulMS
7 years agoSuper Contributor
From examples in the link sanj suggested
new Date().plus(2).format('yyyy-MM-dd')
new Date().minus(2).format('yyyy-MM-dd')
Here are some cool examples of how to play with Date objects using Groovy
https://examples.javacodegeeks.com/jvm-languages/groovy/groovy-date-example/
From examples in the link sanj suggested
new Date().plus(2).format('yyyy-MM-dd')
new Date().minus(2).format('yyyy-MM-dd')
From examples in the link sanj suggested
new Date().plus(2).format('yyyy-MM-dd')
new Date().minus(2).format('yyyy-MM-dd')