The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


beginner needs help on Date format conversions

Posted by Enrico on November 13, 2000 at 4:44 AM

would tou be so kind to help me?
My problem is the following:
I need to give a time-to-live to a string on a DB, so what I do is simply to add a period (expressed in days) to the current Date. Is there a method that does that work instead of calculating the new Date (wich implies to control the length of the month, if February has 29 days, and so on...)?
Thank you for the attention.


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us