This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes how to add monthS on date? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to add monthS on date?" Watch "how to add monthS on date?" New topic
Author

how to add monthS on date?

adair jen
Greenhorn

Joined: May 16, 2003
Posts: 3
I WANT TO CALUATE DATEB=DATEA + n MONTHS
Would someone help me??
Thanks!!
Joel McNary
Bartender

Joined: Aug 20, 2001
Posts: 1824

Take a look at the java.util.Calendar class.


Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: how to add monthS on date?
 
It's not a secret anymore!