This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design 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 ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic