xxxxxxxxxx
var rawDate = "2022-06-27T01:26:15.000Z";
var countDownDate = rawDate.toISOString().replace('Z', '').replace('T', ' ').replace('.000', '');
console.log(countDownDate) //2022-06-27 01:26:15
xxxxxxxxxx
var d = '12/12/1955 12:00:00 AM';
d = d.split(' ')[0];
console.log(d);