On Mar 11, 2007, at 6:02 PM, Aaron Smith wrote: > I don't see any obvious ways of making a new Date object based off of > what Time.now rerurns. I'm ultimately trying to make a new Date from > milliseconds: > > tn = Time.now > ms = ("%.6f" % tn.to_f) #this would ultimately be comming from another > source > nd = Time.at( ms.to_f / 1000.0 ) > puts nd.to_a.inspect Remember, ri is your friend % ri Date::civil ------------------------------------------------------------ Date::civil Date::civil(y=-4712, m=1, d=1, sg=ITALY) ------------------------------------------------------------------------