From: David Clements Date: 2006-01-18T01:48:31+09:00 Subject: Time Diff Module ------=_Part_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 =3D DateTime.now + 2.hours + 2.minutes d2 =3D DateTime.now diff =3D 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 ------=_Part_50992_21857766.1137516497737--