formatted_offset(colon = true, alternate_utc_string = nil)
Instance Public methods
datetime = DateTime.civil(2000, 1, 1, 0, 0, 0, Rational(-6, 24)) datetime.formatted_offset # => â-06:00â datetime.formatted_offset(false) # => â-0600â
datetime = DateTime.civil(2000, 1, 1, 0, 0, 0, Rational(-6, 24)) datetime.formatted_offset # => â-06:00â datetime.formatted_offset(false) # => â-0600â
Please login to continue.