From: Pit Capitain Date: 2007-03-16T17:19:36+09:00 Subject: Re: Calculating the age given DOB Rick DeNatale schrieb: > I think that this does the right thing: > (...) tryit(Date.new(2007,3,1), Date.new(2004,3,1)) tryit(Date.new(2004,3,1), Date.new(2001,3,2)) # => There are 2 years between 2004-03-01 and 2007-03-01 There are 3 years between 2001-03-02 and 2004-03-01 See [ruby-talk:243700]. Regards, Pit