Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/31/2024 02:28 PM
Hi I am looking for guidance on how to properly get today's date and add 90 days to it in a Task Completion Email Template.
IT new hire notification Request for ${user?.firstname} ${user?.lastname} - <%= new java.text.SimpleDateFormat("yyyy-MM-dd").format(new java.util.Date()) %>
Looks to pull today's date but I have not been able to figure out how to add 90 days to it. Is there a better/cleaner way to pull today's date and add 90 days?
Solved! Go to Solution.
07/31/2024 06:38 PM - edited 07/31/2024 06:39 PM
Hi Rushi,
Todays Date ${new Date().format('yyyy-MM-dd')}
90 days from Todays Date : ${ new Date().plus(90).format('yyyy-MM-dd')}