//Add to the import section of your test case or use "CTRL+SHIFT+O" to have Katalon add it for you.
import java.text.SimpleDateFormat
//Add to the body of test case
SimpleDateFormat sdf = new SimpleDateFormat(“MM/dd/yyyy”);
Calendar c = Calendar.getInstance();
c.setTime(new Date()); //Use today’s date
c.add(Calendar.DATE, 2); //Adds # of days
c.add(Calendar.YEAR, 2); //Adds years
String currentDate = sdf.format(c.getTime());
System.out.println("Future Date (MM/DD/YYYY): " + currentDate);
Time examples can be found here: