Do you take the decimal (subtract the whole number) and multiply that by 60 to get the number of seconds?
For example, if a group of songs were 12970987 mS duration, divide that by 1000, then divide it again by 60 to get roughly 216.1831167 minutes. Subtract 216 from that leaving the decimal and multiply it by 60 to convert the fractional minutes to actual seconds which is 10.987. So 12970987 mS is equal to 216 minutes and 11 seconds (rounded). You could do the same thing with the minutes and divide 216 by 60 which equals 3.6 hours then subtract 3 and multiply by 60 leaving 36 minutes.