How can I convert a long int of seconds to the human readable format
MM:SS
Only SS should be 0 padded so
long = 67 -> 1:07
String readable = String.format("%d:%02d", s/60, s%60);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With