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 dates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "dates" Watch "dates" New topic
Author

dates

David Jon
Greenhorn

Joined: Feb 16, 2001
Posts: 17
any one know how I can find out the date 7 days agoe? when the only object I have currently available is Date. essentially I want to do something like :

new Date() - 7days.
Any help appreciated.
Thanks,
DJ.
Art Metzer
Ranch Hand

Joined: Oct 31, 2000
Posts: 241
Hi, David, let us know if this fills the bill?

This code returned

Art
David Jon
Greenhorn

Joined: Feb 16, 2001
Posts: 17
YOU ARE THE MAN
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: dates
 
Similar Threads
Retrive Month and Year
yesterdays date
Help Needed!!
getting first and last date of past 6 months?
BigDecimal to Date Conversion