to_date¶ In std/time. fn to_date(self: String) : Option<Date> self read as an ISO 8601 date, some(Date), or none where it is not one: "2026-10-24".to_date() is some(2026-10-24).