Hi, I don't think there is any direct method to get the difference between timestamp. You'll have to formulate using GregorianCalendar. ----------- Nayan.
One more solution.... U can use the class called Timestamp which extends Date class. Date class has methods of comparing two objects. Hope, this helps u. ------------ Nayan
The difference as what? The simplest way is to use getTime() to get the timestamps in milliseconds since 1970, which is a long. You can simply subtract the two values to get the difference in milliseconds. That may or may not be useful to you. - Peter
Peter den Haan | peterdenhaan.com | quantum computing specialist, Objectivity Ltd