Possible Duplicate:
How can I increment a date by one day in Java?
I have an existing date object that I’d like to increment by one day while keeping every other field the same. Every example I’ve come across sheds hours/minutes/seconds or you have to create a new date object and transfers the fields over. Is there a way you can just advance the day field by 1?
Thanks
EDIT: Sorry i didn’t mean increment the value of the day by one, i meant advance the day forward by 1
1 Answer