> a = Time.mktime(1972, 1, 15, 0, 0, 0).utc
> b = Time.now.utc
> 
> delta = b - a
> 
> puts delta.decades
> puts delta.years
> 
> harp:~ > ruby a.rb
> 3.76567099435856
> 37.6567099435856 #This should be 34 years... what is it 37? (2006 - 1972 = 34)



-- 
Posted via http://www.ruby-forum.com/.