you can use Date.getTime() or Calendar.getTimeInMillis() which will return the milliseconds. Then subtract and divide to get the result. Cheers, Jram ----- Original Message ----- From: Shivashankar Krishnan <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 26, 2000 10:14 AM Subject: Date! can anyone help me in getting the difference between two date values. The two values are passed as parameters from an html page and fed to the servlets. The servlet computes the differece. Can anyone help me out in this. I really don't know a method which finds difference in dates in Java regds Shivashankar __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ ___________________________________________________________________________ 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
