class DateTime
Ruby on Rails 3.1.12
Since v2.2.3No documentation comment.
Inherits from
Methods (defined here)
- # <=>
- # acts_like_date?
- # acts_like_time?
- # advance
- # ago
- # at_beginning_of_day
- # at_midnight
- # beginning_of_day
- # change
- # default_inspect
- # end_of_day
- # formatted_offset
- # future?
- # getutc
- # in
- # inspect
- # in_time_zone
- # midnight
- # past?
- # readable_inspect
- # seconds_since_midnight
- # since
- # to_date
- # to_datetime
- # to_default_s
- # to_f
- # to_formatted_s
- # to_i
- # to_s
- # to_time
- # utc
- # utc?
- # utc_offset
- # xmlschema
- self. civil_from_format
- self. current
- self. local_offset
Private methods
(1)
Implementation detail — not part of the public API.
Methods (inherited)
From Object (24)
- # acts_like?
- # app
- # blank?
- # controller
- # create_fixtures
- # duplicable?
- # helper
- # html_safe?
- # in?
- # index
- # instance_variable_names
- # new_session
- # options
- # presence
- # present?
- # reload!
- # show
- # test_homepage
- # to_param
- # to_query
- # try
- # unescape
- # with_options
- self. table_name_prefix