Function current_date

Source
pub fn current_date() -> String
Expand description

Gets the current day, without the time.

§Returns

String: The formatted date as “YYYY-MM-DD”