I have the current date and I want to get the date which is 1 year back by using only java.util.Date
I'm working in gwt so cannot use SimpleDateFormat
or Calendar
Date currentDate = new Date();
Date oneYearBefore = new Date( - (365 * 24 * 60 * 60 * 1000));
The above mentioned code is not working (got it from some forum)