Subject: Operations with Time objects
From: Stefano Bortolotti <mxkefla hotmail.com>
Date: Thu, 13 Mar 2008 20:52:09 +0900
Hi guys.
I want to know the time remain before an expiration.
If I do t_remained = Time.now - expiration I get a float object.
how can I convert it back to Time(days hours and minute)?
thanks
--
Posted via http://www.ruby-forum.com/.