SyntaxFix
Write A Post
Hire A Developer
Questions
Here is how I would do it in Java:
int seconds = (int) (milliseconds / 1000) % 60 ; int minutes = (int) ((milliseconds / (1000*60)) % 60); int hours = (int) ((milliseconds / (1000*60*60)) % 24);