Skip to content
class method

Date.today

(?::Integer start) -> ::Date
Date.today(start = Date::ITALY) → date

Returns a new Date object constructed from the present date:

Example
Date.today.to_s # => "2022-07-06"

See argument start.