Ruby 4.0 リファレンスマニュアル

instance method DateTime#to_date

to_date -> DateRuby 3.0 から[permalink][rdoc][edit]

対応する Date オブジェクトを返します。