Method: ActiveSupport::TimeWithZone#utc
- Defined in:
- lib/active_support/time_with_zone.rb
#utc ⇒ Object Also known as: comparable_time, getgm, getutc, gmtime
Returns a Time
instance of the simultaneous time in the UTC timezone.
73 74 75 |
# File 'lib/active_support/time_with_zone.rb', line 73 def utc @utc ||= incorporate_utc_offset(@time, -utc_offset) end |