>>>hour. But HOW TO GET THE DIFFERENCE BETWEEN TWO DATES ???
You can use the Calendar.add(int field, int amount) functions.
See the docs (java.util.Calendar) for how.
>>>And why do I have to say "java.util.Date" and not simply "Date" ???
If you add import java.util.*; to the top of your program, you won't have to.
>>>Denis
Carmine
[EMAIL PROTECTED]
--
___________________________________________________________________________
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