Get the current date and add 30 days form the date and stored in the variable named reminderDueDate
def date = new Date().plus(30)
simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd")
reminderDueDate = simpleDateFormat .format(date)
from that variable, I need to minus the days Let me know how?
say for example
reminderDueDate = 2019-09-07
I need to minus 7 days from the reminderDueDate how?