|
Hey everyone, I can't seem to figure how to do this:
I want to get today's date and calculate the date that was 9 months prior. Is it something like this:
java.util.Date today = new java.util.Date(); java.util.Date finalDate = (today.getTime() - ?????);
what would I replace the ???? with? I am not sure what format, if it wants it in days, months.
Thank you :) |