seconds_since_midnight() Instance Public methods Seconds since midnight: Time.now.seconds_since_midnight
noon() Instance Public methods Alias for: middle_of_day
minus_without_duration(other) Instance Public methods Alias for: -
minus_without_coercion(other) Instance Public methods Alias for: -
minus_with_coercion(other) Instance Public methods Time#- can also be used to determine the number of seconds between two Time instances. We're layering on additional behavior so that ActiveSupport::TimeWithZone instances are coerced into values that Time#- will recognize -
midnight() Instance Public methods Alias for: beginning_of_day
middle_of_day() Instance Public methods Returns a new Time representing the middle of the day (12:00) midday noon at_midday at_noon at_middle_of_day
midday() Instance Public methods Alias for: middle_of_day
in(seconds) Instance Public methods Alias for: since
formatted_offset(colon = true, alternate_utc_string = nil) Instance Public methods Returns the UTC offset as an +HH:MM formatted string. Time.local(2000).formatted_offset # => "-06:00" Time.local(2000).formatted_offset(false) # => "-0600"
Page 2 of 2275