duration is a float, it gives you seconds and milliseconds. If you want to show minutes, hours, days, etc., you'll need to do some maths. For example, math.floor(duration / 60) will give you minutes, math.floor(duration / 3600) will result in hours, and so on.
__________________
|