Migrating timezone timestamps
You can do only one thing

var mystring = "2020-03-22T20:38:48.347Z";
mystring = mystring.replace(/Z/, '');
mystring = mystring.replace(/T/, ' ');
console.log(mystring);

2020-03-22 20:38:48.347


see jsfiddle

Replace the T and the Z the resulting string is no problem for Mysql