This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes difference in weeks Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "difference in weeks" Watch "difference in weeks" New topic

difference in weeks

Sahil Sharma
Ranch Hand

Joined: Aug 27, 2003
Posts: 152
I want to know the difference between two dates in weeks. How should i do this
for e.g. 01/04/2008-06/06/2008. How many weeks fall between these two dates?

Mohd Fuzail
Ranch Hand

Joined: Feb 20, 2002
Posts: 107

But Since date has been depreciated better use Calender

Hope it helps

Being defeated is often a temporary condition. Giving up is what makes it permanent.
Have you checked out Aspose?
subject: difference in weeks
jQuery in Action, 3rd edition