This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes Question about the date API usage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Question about the date API usage" Watch "Question about the date API usage" New topic
Author

Question about the date API usage

Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384
Hello,
What I want to achieve is quite simple to describe, i.e. I want to return the current date (as a java.util.Date) out of which I will have substracted 30 days.
For example today's date is the 20th December 2007, I want to get the following date: 20th December 2007 - 30 days that is the 20th of November.
Any clue?
Thanks in advance,
Julien.
Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384
Found the solution:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about the date API usage
 
Similar Threads
Book promotion winners
Formating Date with SimpleDateFormat
getting a Date that is 30 days ago from today
Running self made Servlets on tomcat
Date and Calendar