how to convert seconds in min:sec format

Viewed 52598

how to convert seconds in Minute:Second format

11 Answers

If you need it as float or double:

float seconds = 339;
float totalTimeInMins = (float) (Math.Floor(seconds / 60) + (seconds % 60) / 100);
Related