APIdock / Ruby on Rails
/
Browse About
method

in

v3.2.13 - Show latest stable - Class: DateTime
in(seconds)
public

Alias for DateTime#since

Related methods

  • Instance methods
  • <=>
  • acts_like_date?
  • acts_like_time?
  • advance
  • ago
  • as_json
  • at_beginning_of_day
  • at_beginning_of_hour
  • at_midnight
  • beginning_of_day
  • beginning_of_hour
  • change
  • default_inspect
  • end_of_day
  • end_of_hour
  • formatted_offset
  • future?
  • getutc
  • in
  • in_time_zone
  • inspect
  • midnight
  • minus_with_duration
  • past?
  • plus_with_duration
  • readable_inspect
  • seconds_since_midnight
  • since
  • to_date
  • to_datetime
  • to_default_s
  • to_f
  • to_formatted_s
  • to_i
  • to_s
  • to_time
  • utc
  • utc?
  • utc_offset
  • xmlschema
  • Class methods
  • civil_from_format
  • current
  • local_offset
  • Private methods
  • privateseconds_since_unix_epoch
APIdock API Documentation Browser

© 2026 APIdock