Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Boell Fischer   on Jul 31 In Java Category.

  
Question Answered By: Hubba Akhtar   on Jul 31

Remember everything in Java is a class

Calendar now = Calendar.getInstance();
now.add( Calendar.DATE, -7 );

This should give you the result.

Share: 

 
 
Didn't find what you were looking for? Find more on Retrieving a particular date through simple arithmati Or get search suggestion and latest updates.


Tagged: