From: "Florian Aßmann" Date: 2009-02-16T08:39:42+09:00 Subject: Re: To get time differnece in hours between two time values Hi Robert, the original code: (Time.now-incidents.first.created_on).hours almost implies that it uses a framework like Rails so I naively blown these nn chars into this e-mail. Cheers Florian Am 27.11.2008 um 12:03 schrieb Robert Dober: > On Thu, Nov 27, 2008 at 7:57 AM, Florian Aßmann > wrote: >> (Time.now - incidents.first.created_on) / 1.hour > I do not think that 1 responds to that message. > but using 3600 instead should do the trick. > HTH > Robert > -- > Ne baisse jamais la tête, tu ne verrais plus les étoiles. > > Robert Dober ;) >