File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes how to add one year to today's date in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to add one year to today Watch "how to add one year to today New topic
Author

how to add one year to today's date in java

Bhasker Reddy
Ranch Hand

Joined: Jun 13, 2000
Posts: 176
How to add one year to Today's date in java. do you have any examples that does it.
I will appreciate if someone can help me


Bhasker Reddy
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879


Jamie
[ August 28, 2002: Message edited by: Jamie Robertson ]
Neil Laurance
Ranch Hand

Joined: Jul 18, 2002
Posts: 183
One way to do this:

Cheers, Neil :roll: :roll:
Neil Laurance
Ranch Hand

Joined: Jul 18, 2002
Posts: 183
Darn, Jamie was quicker on the draw
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

Originally posted by Neil Laurance:
Darn, Jamie was quicker on the draw

cause I was too lazy to type out all that extra stuff you included!
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

Moving from Servlets -> Java In General / Beginner
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to add one year to today's date in java