From: Ralf Mueller Date: 2013-05-15T23:49:19+09:00 Subject: Re: Help with time On 05/15/2013 04:43 PM, ricardo l. wrote: > If i have a date time like this "2013-04-01T12:01:03-07:00" > > how can i get a Time object in Ruby 2 without UTC added. i mean get > "2013-04-01 12:01:03" > >> require 'time' => true >> Time.parse("2013-04-01T12:01:03-07:00".split('-')[0..-2].join('-')) => 2013-04-01 12:01:03 0200 hth ralf