instance method
to_time
Ruby on Rails 4.1.16
Since v2.2.3Signature
to_time()
Return an instance of Time in the system timezone.
Source
# File activesupport/lib/active_support/time_with_zone.rb, line 321
def to_time
utc.to_time
end
Defined in activesupport/lib/active_support/time_with_zone.rb line 321
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::TimeWithZone