From: "David A. Black" Date: 2005-11-13T03:28:32+09:00 Subject: Re: Converting between Time and DateTime Hi -- On Sun, 13 Nov 2005, David A. Black wrote: > Hi -- > > On Sun, 13 Nov 2005, Lloyd Zusman wrote: > >> What is the recommended method for converting between Time objects and >> those of type DateTime? > > This is probably just a stepping-stone on the way to something more > elegant... but try this: > > require 'date' > require 'time' > > t = Time.parse(DateTime.new.sec.to_s) Withdrawn :-) Completely wrong. Sorry. David -- David A. Black dblack@wobblini.net