|
-
August 21st, 1999, 10:14 AM
#1
Date Difference
how do i get the difference between the dates ? ie. 31-12-1997 and 01-01-1998 then the difference should be 1 day !!
If any one can help me out ? Please Its an urgency !!!
Regards
[email protected]
-
August 22nd, 1999, 10:30 AM
#2
Re: Date Difference
What u can do is get the time in milliseconds of the two dates get the difference. Then u can either do calculation of number of days or u can give it to Date/Calendar class.
- UnicMan
-
October 7th, 1999, 12:15 PM
#3
Re: Date Difference
i dont know why UnicMan's answer was rejected. Take a look at this site..
http://www.codeguru.com/java/articles/476.shtml
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|