From: Gabriele Marrone Date: 2006-11-09T05:03:17+09:00 Subject: Re: Parse date fields from mysql database On 08/nov/06, at 20:30, Bart Braem wrote: > khaines@enigo.com wrote: > >> parsed_time = DateTime.parse(mysql_datetime) > > Combined with the methods from Gabriele this works perfectly, thanks! Oops! Sorry, I thought you were using ActiveRecord, so it was already parsed :) Give it a look, of course you can use it outside Rails, if you need it: http://rubyonrails.org/api/classes/ActiveRecord/Base.html > > Bart > -- Gabriele Marrone