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

instance method Date#yday

yday -> Integer

年の日を返します (1-366)。

class Date