strptime(date, format, now=self.now) -> Time

Ruby 3.2 リファレンスマニュアル ライブラリ一覧 timeライブラリ Timeクラス strptime
文字列を Date._strptime を用いて Time オブジェクトに変換します。
https://docs.ruby-lang.org/ja/latest/method/Time/s/strptime.html