to_time()
Return an instance of Time with the same UTC offset as self.
# File activesupport/lib/active_support/core_ext/date_time/compatibility.rb, line 13 def to_time getlocal(utc_offset) end