method
to_i
rails latest stable - Class:
ActiveSupport::CoreExtensions::DateTime::Conversions
to_i()public
Converts self to an integer number of seconds since the Unix epoch
to_i()Converts self to an integer number of seconds since the Unix epoch