I need to get the difference between the current date and the future date, in days, hours, minutes and seconds in Android. For example, if the current date and time is 05/17/2012 03:53:00, and the date in the future is 05/18/2012 04:55:00.
I need to display the difference as the remaining time = day: 1, hours: 1 and minutes 2.
Any help would be greatly appreciated. Thank you very much in advance.
Regards, Munazza K
source
share