The title expains! I need to change a integer containing a time value in milliseconds to hours, minutes and seconds but I'm absolutely stuck on the maths!
As one second is 1000 milliseconds I know I can get the seconds simply by dividing by 1000. But to get the hours and minutes too?
I want to display it like "X hours, X minutes and X seconds".