Stackoverflow from 17 years ago claims the best way of checking whether `new Date("input string here")` in JS returned a valid date is to run isNan() on the return value. Is that correct?
https://stackoverflow.com/questions/1353684/detecting-an-invalid-date-date-instance-in-javascript
https://stackoverflow.com/questions/1353684/detecting-an-invalid-date-date-instance-in-javascript