my dog learned polymorphism
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
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.
I agree. Here's the link:
subject: Calculate date difference [Gregorian calender]
It's not a secret anymore!