Does someone have an example of how to calculate the date difference in java.
For example I have these two dates
date #1 [12/01/2001]
date #2 [12/31/2002]
How do I calculate the # of days apart from date #1 to date #2
Need some guidiance
] date difference
Does someone have an example of how to calculate the date difference in
java.
For example I have these two dates
date #1 [12/01/2001]
date #2 [12/31/2002]
How do I calculate the # of days apart from date #1 to date #2
Need some guidiance
the # of
days difference.
Regards,
Richard
At 03:44 PM 12/13/2001 -0700, you wrote:
Does someone have an example of how to calculate the date difference in java.
For example I have these two dates
date #1 [12/01/2001]
date #2 [12/31/2002]
How do I calculate the # of days apart from date #1
Actually, this is probably the most useful:
http://www.javaworld.com/javaworld/jw-03-2001/jw-0330-time.html
(*Chris*)
- Original Message -
From: Chris Pratt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 13, 2001 3:06 PM
Subject: Re: [JSP-INTEREST] date difference
Is there any way to get the difference in year, month, day format?
- Original Message -
From: Richard Yee [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 13, 2001 4:18 PM
Subject: Re: date difference
You can first parse the strings using the DateFormat.parse() method
/13/2001 -0700, you wrote:
Is there any way to get the difference in year, month, day format?
- Original Message -
From: Richard Yee [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 13, 2001 4:18 PM
Subject: Re: date difference
You can first parse the strings using
and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of syed huda
Sent: Thursday, December 13, 2001 3:29 PM
To: [EMAIL PROTECTED]
Subject: Re: date difference
Is there any way to get the difference in year, month, day format?
- Original Message -
From: Richard Yee [EMAIL PROTECTED]
To: [EMAIL
Can anyone tell me how to calculate the (days, months, years) difference
between two dates?
Visit our website at http://www.p21.com/visit
The information in this e-mail is confidential and may contain legally
privileged information. It is intended solely for the person or entity to
which it