From: "Michael W. Ryder" <_mwryder55@...> Date: 2009-11-18T13:10:09+09:00 Subject: Re: How to time something? Brian Geds wrote: > Heres what I have right now but it does reset the sec. to zero it keeps > going 61..62 > > def seconds_minutes_string(seconds_elapsed) > seconds = seconds_elapsed % 59 > minutes = seconds / 60 > return minutes.to_s + ':' + seconds.to_s > end Shouldn't your modulus be 60 instead of 59 and shouldn't the minutes be the seconds_elapsed divided by 60?