JSFiddle - React, Tailwind, and code Playground

by chridam

JavaScript

var src = "/Date(590104800000)/";
src = src.replace(/[^0-9 +]/g, ''); 
var myDate = new Date(parseInt(src));
alert(myDate);