This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes Time Stamp values Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Time Stamp values" Watch "Time Stamp values" New topic
Author

Time Stamp values

siva kumar
Ranch Hand

Joined: Sep 03, 2004
Posts: 86
How to find the difference between the two Timestamp values in

Java.

I'm not finding good ways to find that
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Use getTime() which returns the number of milliseconds from 01/01/70 00:00:00 GMT. You can subtract one timestamp from another this way, and the result is the number of milliseconds between the two.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Time Stamp values
 
Similar Threads
get the value of constant
Drawing a Histogram ( I know its been covered and I have read through those posts)
Retrive data from requst object without using getParameter()
notes on thread , inner classes,...........
Boolean arrays in java