Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

givenDate+7

 
moola reddy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How to get new date from a givenDate+7 days

Ex: today date is 06/11/2006
How to add 7 days to the today date so it should give new date 11/06/2006

Thank you
 
pascal betz
Ranch Hand
Posts: 547
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and again.... java.util.Calendar.
check out the API.

pascal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic