class method self.utc_time

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v4.0.13

Available in: v3.0.20 v3.1.12 v3.2.22.5 v4.0.13

Signature

self.utc_time(*args)

Wraps class method time_with_datetime_fallback with utc_or_local set to :utc.

Parameters

args rest
Source
# File activesupport/lib/active_support/core_ext/time/calculations.rb, line 35
    def utc_time(*args)
      time_with_datetime_fallback(:utc, *args)
    end

Defined in activesupport/lib/active_support/core_ext/time/calculations.rb line 35 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Time

Type at least 2 characters to search.

↑↓ navigate · open · esc close