Ruby 1.9.0 リファレンスマニュアル > ライブラリ一覧 > library _builtin > class Time > to_i
to_i -> Integer
tv_sec -> Integer
起算時からの経過秒数を整数で返します。