Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

days between dates

 
t tea
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i calcuate the days between two dates?
For example days bewteen 2003-03-02 to 2003-03-29 .
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Search this FAQ for "days between". Disclaimer: I have not used or tested the code here. Use at your own risk.
BTW please review the JavaRanch Naming Policy. If you are using your "real" name, then I apologise in advance.
-Barry
[ March 22, 2003: Message edited by: Barry Gaunt ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic