Ruby 1.9.3 リファレンスマニュアル > ライブラリ一覧 > dateライブラリ > DateTimeクラス > sec

instance method DateTime#sec

sec -> Integer

秒を返します (0-59)。

class DateTime