On Fri, 9 Sep 2005, Ara.T.Howard wrote: > On Fri, 9 Sep 2005, Hugh Sasse wrote: > >> I'm trying to compare how new a file is with the header obtained >> from Net::HTTP.head(). I use [...] >> But I can't compare this with the results of File.mtime, because one >> is a DateTime, and one is a Time. Time::strptime or Time::strftime > > this might help... > > harp:~ > cat a.rb > require 'alib' What is alib? > > dunno though... without the 'local' it assumes utc. I think it depends on whenther I can get both times into the same form. > > cheers. > > -a Thank you Hugh