APIdock / Ruby on Rails
/
Browse About
method

midnight

v2.0.3 - Show latest stable - Class: ActiveSupport::CoreExtensions::Date::Calculations
midnight()
public

Alias for #beginning_of_day

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_midnight
  • beginning_of_day
  • beginning_of_month
  • beginning_of_quarter
  • beginning_of_week
  • beginning_of_year
  • change
  • end_of_day
  • end_of_month
  • in
  • last_month
  • last_year
  • midnight
  • monday
  • months_ago
  • months_since
  • next_month
  • next_week
  • next_year
  • since
  • tomorrow
  • years_ago
  • years_since
  • yesterday
APIdock API Documentation Browser

© 2026 APIdock