I am using Jaspersoft Studio 6.12.2. I have a variable of class java.sql.date. In the expression editor for that variable, I need to add one day to the current date. I find a lot of information in posts but none of it works! Can someone please help with the proper syntax? Please don't refer me to a link because I've probably already been there.
Thank you in advance for your help!
DATEFORMAT(NOW( ),"MM/dd/yyyy").setday(DATEFORMAT( org.apache.commons.lang3.time.DateUtils.addDays(new java.util.Date(),1) ,"MM/dd/yyyy”))
This -> org.apache.commons.lang3.time.DateUtils.addDays(new java.util.Date(),1) adds one day to the current date (equivalent of NOW()) using one of our imported libraries.