I have tried this: >> t = Time.now => Thu Mar 13 12:57:47 +0100 2008 >> t1 = Time.now + 1.hours => Thu Mar 13 13:58:03 +0100 2008 >> t2 = t1 - t => 3615.968256 >> tot = Time.at(t2) => Thu Jan 01 02:00:15 +0100 1970 but I don't know why the difference between t1 e t is 2 hours and not 1 hour? -- Posted via http://www.ruby-forum.com/.