i am doing library project and want to increment date that is from the issue date , i want to add 14 and get return date for a book. i donot want to write to oracle and use oracle commands for increasing date and again updating same record. is there any built in function for so???
Joined: Jun 13, 2000
You might want to look at what GregorianCalendar can do for you. The basic constrictor creates a GregorianCalendar object to today and the roll method can increment the date a specific amount af time. The only draw back is formatting the date that it creates into something usable. But, with the help of the get method GregorianCalendar provides and DecimalFormat you should be on your way.