to_i()
Converts self to an integer number of seconds since the Unix epoch.
# File activesupport/lib/active_support/core_ext/date_time/conversions.rb, line 93 def to_i seconds_since_unix_epoch.to_i end