Ruby 1.8.7 リファレンスマニュアル
>
ライブラリ一覧
>
dateライブラリ
>
Dateクラス
> wday
instance method Date#wday
wday -> Integer
曜日を返します (0-6、日曜日は零)。