📅  最后修改于: 2022-03-11 15:01:29.092000             🧑  作者: Mango
const isDateValid = (...val) => !Number.isNaN(new Date(...val).valueOf());
isDateValid("December 17, 1995 03:24:00");
// Result: true