Determine date 1 month ago
Posted on 2001-07-13
I am using the following code to get the current date and format the way I need it.
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-mm-dd");
java.util.Date currentTime_1 = new java.util.Date();
String dateToday = formatter.format(currentTime_1);
The problem I am having now is trying to figure out how to determine what the date was 1 month ago, using the same format.