converting seconds

BlitzPlus Forums/BlitzPlus Programming/converting seconds

Hours = CurrentSeconds / 3600
Minutes = ( CurrentSeconds - ( Hours * 3600 ) ) / 60
Seconds = CurrentSeconds - ( Hours * 3600 ) - ( Minutes * 60 )