inspect() public

Returns a string of the object’s date, time, zone, and offset from UTC.

Time.zone.now.inspect # => "2024-11-13 07:00:10.528054960 UTC +00:00"
Show source
Register or log in to add new notes.