to_s() public

Returns a string in an ISO 8601 format (This method doesn’t use the expanded representations).

Date.new(2001,2,3).to_s  #=> "2001-02-03"
Show source
Register or log in to add new notes.