just try
long thetime=System.currentTimeMillis();
Clayton
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of sandarbh
Sent: 15 May 2001 13:49
To: [EMAIL PROTECTED]
Subject: important ..................
Hi all,
I have a basic simple question to ask.
I need to know exact difference between two times in milliseconds in a bean
which i am callig thru a JSP page. If i use calender class and use compute
time then it is abstract in nature so i have to blah blah blah........u know
The other option is -->>>>>>>>>>>>>>
select sysdate - (select max(logdatetime) from module_log) from dual, get
the result and proceed the .. the connection is already there so question is
only of creating resultset and blah blah.............
which of these options will take less system resources and why??
Sandarbh
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets