js Date object can be identified by four date string:
1.YYYY-MM-DD 2019-11-11 01:01:01
2.MM-DD-YYYY 11-11-2019 01:01:01
3.YYYY/MM/DD 2019/11/11 01:01:01
4.MM/DD/YYYY 11/11/2019 01:01:01
Standard browsers are supported by four time formats, ie it does not recognize the first "-" link,
So the use of
var strDate = "2019-11-11 01:01:01";
var Time = new Date(Date.parse(strDate .replace(/-/g, "/")))