• Post Reply Bookmark Topic Watch Topic
  • New Topic

Number of weeks between two dates  RSS feed

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How to find number of weeks between two dates?

Regards
Mah
 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
try having a look at the GregorianCalendar class in the java.util package. I has a number of useful methods that will help you do what you want.

DD
 
Ranch Hand
Posts: 704
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is a DateDifference class I pick up along the way.
 
mah kumar
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

Thanks for reply

Regards
mah
 
He's giving us the slip! Quick! Grab this tiny ad!
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!