1.Date.parse () function compatibility issues:
IE | Chrome | Firefox | |
Date.parse("07-17-2019") | 1563292800000 | 1563292800000 | NaN |
Date.parse("17-07-2019") | 1588780800000 | NaN | NaN |
Date.parse("07/17/2019") | 1563292800000 | 1563292800000 | 1563292800000 |
Date.parse("17/07/2019") | 1588780800000 | NaN | NaN |
On the reference chart: Date.parse () function argument must be a format month / day / year with a "/" separated