... followed by two calls to getTime() - depending on which date is after which, subtract each long from the other, and then there you have it - the difference in time in milliseconds. Then all you have to do is some very simple maths to work out the minutes/hours/days etc - use your common sense !!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.