I am trying to get the program to call the current date, add 30 days to it, and then put this date as a string.
// Set calendar for due date on invoice gui Calendar cal = Calendar.getInstance(); // Add 30 days to the calendar for the due date cal.add(Calendar.DATE, 30); Date dueDate = cal.getTime(); dueDatestr = Calendar.toString(dueDate);
source share