Something like: def number_to_time(seconds) Time.at(seconds.to_i-3600).strftime("%H:%M:%S") end Piet.
on 2007-07-31 19:07
on 2007-07-31 19:51
Well it would be really nice and concise if that worked but unfortunately it doesn't work for seconds > 1.day i.e., it will show 00:05:55 rather than 24:05:55. I would like a %H:%M:%S type output but with %H representing the number of hours which can be greater than 24. On Jul 31, 4:07 pm, "Piet H." <firstname.lastname@example.org>