Ruby 2.6.0 リファレンスマニュアル > ライブラリ一覧 > dateライブラリ > Dateクラス > asctime

instance method Date#asctime

asctime -> String[permalink][rdoc]
ctime -> String

asctime(3) 書式の文字列を返します (ただし、末尾の "\n\0" は除く)。