how i can i calculate time difference between two time stamp like 21-08-2013 10:00:00 am and 22-08-2013 2:00:00 pm. i want accurate difference of days,hour, minute and second in java.
Jan Hoppmann wrote:Or you could replace steps 3 and 4 by something from the Joda Time library, which makes calculations such as this one fairly easy and readable.
viral thakar wrote:can you provide me code in details with example. Thanks in Advance.