File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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.
I agree. Here's the link:
subject: difference in weeks
It's not a secret anymore!