Tuesday, February 26, 2002 05:02 AM
is there anyway to get a specific date after a certain period of time.
for example, to get the current system date,
i have used this
Calendar calendar = Calendar.getInstance();
SimpleDateFormat sdf1 = new SimpleDateFormat("dd-MM-yyyy");
String date = sdf1.format(calendar.getTime());
This would return 26-02-2002.
Is there anyway to get the date when it is exactly 3 months later? I.E. 26-05-2002.