Hello everyone well i have a certain long number and i wish to divide it and show how many minutes and hours remaining :
timeToReceive = Utils.currentTimeMillis() + (60 * 1000 * 60 * 8); // 8 hours
here is my timeToReceive long.
I want to show how much time is remaining for the timeToReceive(it's set for 8 hours in the future).
So i do this :
(timeToReceive - Utils.currentTimeMillis()) / (1000 * 60)
this displays it in minutes, however i want to display it in hours and minutes, how will i go bout doing that?
thanks.