File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Calculate date difference [Gregorian calender] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

Calculate date difference [Gregorian calender]

Bas Broeders

Joined: Feb 05, 2002
Posts: 3
I think the title says it.
How do a calculate the difference between two dates?
The input is for example:
01-01-2001 and 01-01-2002
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Well, since you posted this in Advanced, we will close it here.
Continue the conversation here.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Calculate date difference [Gregorian calender]