Re: Time conversion...
- Posted by Vincegg at AOL.COM Feb 24, 2001
- 431 views
Hello, The code looks very convoluted. Couldn't you just use something like this or am I missing something? function secs_to_mins(integer secs) integer minutes minutes=floor(secs/60) return sprintf("%d:%02d",{minutes,floor(secs-minutes*60)}) end function Would that suffice? Vince