[Solved] How to get different between now and time in long in Android [closed]


You know that your long that represents the change in time is in milliseconds (assuming both the original message created timestamp and the current timestamp were both created via System.currentTimeMillis()).

You can then use simple math to convert milliseconds to minutes.
1,000 milliseconds = 1 second, so 60,000 = 1 minute.

Where exactly were you getting stuck with this?

3

solved How to get different between now and time in long in Android [closed]