JSFiddle - React, Tailwind, and code Playground
by Eric L
JavaScript
var test = '2018-09-10T05:00:00.000+0000'
var test2 = test.replace("+0000",'');
alert(test + "|" + test2);
var blah = new Date(test2);
alert(blah.toLocaleDateString());
by Eric L
var test = '2018-09-10T05:00:00.000+0000'
var test2 = test.replace("+0000",'');
alert(test + "|" + test2);
var blah = new Date(test2);
alert(blah.toLocaleDateString());