File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes add day to current date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "add day to current date" Watch "add day to current date" New topic

add day to current date

james ong

Joined: Aug 01, 2006
Posts: 2

how can i add days to the current date.e.g i want ot add 5 days to the current date.

Naseem Khan
Ranch Hand

Joined: Apr 25, 2005
Posts: 809
Well If you want to add 5 days to the system date, then you can use Calendar class as below:


Asking Smart Questions FAQ - How To Put Your Code In Code Tags
Aaron Harp

Joined: Jul 12, 2006
Posts: 8
This may be helpful to you.
I agree. Here's the link:
subject: add day to current date
jQuery in Action, 3rd edition