------art_50992_21857766.1137516497737
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Anyone know of a module out there that will encapsulate differences in time?

Ideally I would want something like this:

d1 = DateTime.now + 2.hours + 2.minutes
d2 = DateTime.now

diff = d1-d2


puts "Diff:  #{diff.hours}:#{diff.minutes}"


>> Diff: 2:02

I have searched for examples and all of them seem to be doing this manually.

Dave

------art_50992_21857766.1137516497737--