Know It All
2008-05-22 09:07:30 UTC
today = new Date();
threeMonthsAgo = new Date();
temp = new java.util.GregorianCalendar();
temp.add(java.util.Calendar.MONTH, -3);
I want to assign the value of temp to threeMonthsAgo.
How do I convert the GregorianCalendar temp to a Date object?