wood burning stoves*
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
Author

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?

Thanks.
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.
 
Don't get me started about those stupid light bulbs.
 
subject: difference in weeks
 
Similar Threads
Number of weeks between two dates
Problem in setting the date in a servlet
about dates
How to calculate difference between two dates in months
difference between two dates