From: Sijo Kg Date: 2008-11-27T14:16:54+09:00 Subject: To get time differnece in hours between two time values Hi I have two values like incidents.first.created_on and Time.now bothe are of class Time Now I would like to get differnet between these two in hours I gtried like (Time.now-incidents.first.created_on).hours But getting wrong result..Could you please tell how I can do this? Thanks in advance Sijo -- Posted via http://www.ruby-forum.com/.