| 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
|
 |
 |
|
|
subject: Time Stamp values
|
|
|