Parses the given string as a date, drops any time given
const [success, date] = TryStrToDate(SomeStr);if (success) { // ...date is valid!} Copy
const [success, date] = TryStrToDate(SomeStr);if (success) { // ...date is valid!}
Parses the given string as a date, drops any time given