-how I can retrieve the difference between two dates;
U can use getTimeInMillis() method of Calender class to return u the time
in milli secs (it actually returns the time as UTC milliseconds from the
epoch.)
Get time in milli secs and do a conversion for difference in days and secs .
-and how to convert a string in to date format.
java.util.Date aStartDate = new java.util.Date(strReenrollmentStartDate);
Savitha
Thank you
regards
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html