APIdock / Ruby on Rails
/
Browse About
module

ActiveSupport::CoreExtensions::Date::Calculations

rails latest stable

Module deprecated or moved

This module is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

Enables the use of time calculations within Date itself

Files

  • activesupport/lib/active_support/core_ext/date/calculations.rb

Nested classes and modules

  • ActiveSupport::CoreExtensions::Date::Calculations::ClassMethods

Related methods

  • Instance methods
  • advance
  • ago
  • at_beginning_of_day
  • at_beginning_of_month
  • at_beginning_of_quarter
  • at_beginning_of_week
  • at_beginning_of_year
  • at_end_of_month
  • at_end_of_quarter
  • at_end_of_week
  • at_end_of_year
  • at_midnight
  • beginning_of_day
  • beginning_of_month
  • beginning_of_quarter
  • beginning_of_week
  • beginning_of_year
  • change
  • end_of_day
  • end_of_month
  • end_of_quarter
  • end_of_week
  • end_of_year
  • future?
  • in
  • last_month
  • last_year
  • midnight
  • minus_with_duration
  • monday
  • months_ago
  • months_since
  • next_month
  • next_week
  • next_year
  • past?
  • plus_with_duration
  • prev_month
  • prev_year
  • since
  • today?
  • tomorrow
  • years_ago
  • years_since
  • yesterday
  • Class methods
  • included
APIdock API Documentation Browser

Measure what matters with Swarmia's SPACE framework implementation.

© 2026 APIdock