From: Steve Litt Date: 2005-12-14T21:30:10+09:00 Subject: Re: convert seconds to hours:minutes:seconds On Wednesday 14 December 2005 05:21 am, Andy Delcambre wrote: > As long as you dont go past 24 hours you can use the Time class: > > irb(main):016:0> Time.at(7683).gmtime.strftime('%R:%S') > => "02:08:03" Next question: How do I get the number of seconds since Epoch? SteveT Steve Litt http://www.troubleshooters.com slitt@troubleshooters.com