instance method
utc
Ruby on Rails 4.2.9
Since v2.2.3Signature
utc()
Returns a Time instance of the simultaneous time in the UTC timezone.
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 59
def utc
@utc ||= period.to_utc(@time)
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 59
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone