From: Paul Brannan Date: 2007-02-01T06:30:25+09:00 Subject: Re: convert string to Time? On Thu, Feb 01, 2007 at 06:20:08AM +0900, Chris McMahon wrote: > How can I convert a string such as '2007-01-31 12:22:26' to a Time > object? irb(main):001:0> require 'time' => true irb(main):002:0> Time.parse('2007-01-31 12:22:26') => Wed Jan 31 12:22:26 EST 2007