JSFiddle - React, Tailwind, and code Playground
by Eric L
JavaScript
var importedDt = new Date("2018-09-26T05:00:00.000+0000".replace(/\+/g,""));
alert(importedDt.toLocaleString());
alert(importedDt.getHours());
by Eric L
var importedDt = new Date("2018-09-26T05:00:00.000+0000".replace(/\+/g,""));
alert(importedDt.toLocaleString());
alert(importedDt.getHours());