to_f()
Converts self to a floating-point number of seconds since the Unix epoch.
# File activesupport/lib/active_support/core_ext/date_time/conversions.rb, line 73 def to_f seconds_since_unix_epoch.to_f end