How would you convert lets say a 1000 minutes to hours, minutes, seconds
If you are converting minutes to hh:mm:ss, seconds will always be 00. Hours can be obtained as (input minutes/60) and the minutes can be calculated with (input minutes - hours*60)
#!/usr/bin/ksh
((hour=$1/60))
((min=$1-$hour*60))
echo $hour:$min:00