Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library _builtin > class Time > yday
yday -> Integer
1月1日を1とした通算日(1から366まで)を整数で返します。