From: Siep Korteling Date: 2013-01-19T08:42:39+09:00 Subject: Re: converting Unix time to Ruby time > > t = Time.at(1325376000).to_datetime.new_offset("00:00") > > Perhaps there's a simpler way? Not much simpler: DateTime.strptime(1325376000.to_s,'%s') -- Posted via http://www.ruby-forum.com/.