Adjust the given time to the simultaneous time in the time zone represented by self. Returns a Time.utc() instance — if you want an ActiveSupport::TimeWithZone instance, use Time#in_time_zone() instead.
Source Code
# File active_support/values/time_zone.rb, line 205 def utc_to_local(time) tzinfo.utc_to_local(time) end
<code/>and<pre/>for code samples.