aspose file tools*
The moose likes Java in General and the fly likes How to display search time? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to display search time?" Watch "How to display search time?" New topic
Author

How to display search time?

Gaurav Jain
Ranch Hand

Joined: Mar 11, 2004
Posts: 108
I want to display the search time that is the time required to retrieve records from the database or for that matter time required to get a response from some other application?
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
How about using two Date objects, and finding the difference between the two. (Or using the Calendar).


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
J�rg Vater
Greenhorn

Joined: Mar 17, 2004
Posts: 10
try this:


[ March 17, 2004: Message edited by: J�rg Vater ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to display search time?