Sample Code:
Long milliseconds = 56009096; Long mins = milliseconds / 60000; Long hours = mins / 60; Long remainingMins = mins - (hours * 60); String totalTime = String.valueOf(hours) + ' hrs ' + String.valueOf(remainingMins) +' mins'; System.debug('totalTime-' + totalTime);