From: "cyber c." Date: 2012-06-09T08:11:32+09:00 Subject: Re: Problem with storing timestamp as datetime object Im sorry , reposting it again to avoid confusion time_1 = File.mtime 'myfile.foo' # mtime of file this returns "Thu Dec 22 16:26:43 -0800 2011" time_2 = Time.parse '2011-12-22 16:26:43 UTC' # from database // Modified the param to Time.parse returns "Thu Dec 22 16:26:43 UTC 2011" -- Posted via http://www.ruby-forum.com/.