Flowdock
method

seconds_since_unix_epoch

Importance_0
v3.0.0 - Show latest stable - 0 notes - Class: DateTime
seconds_since_unix_epoch() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/core_ext/date_time/conversions.rb, line 99
  def seconds_since_unix_epoch
    seconds_per_day = 86_400
    (self - ::DateTime.civil(1970)) * seconds_per_day
  end
Register or log in to add new notes.