Standard.BaseDataTimeDate_RangecontainsOn this pageDate_Range.contains containsvalue Group: Logical Documentation Checks if the range contains the specified value. Examples Check if a particular date is in the range. (Date.new 2020 10 01).up_to (Date.new 2020 10 31) . with_step (Period.new days=2) . contains (Date.new 2020 10 15)