JSFiddle - React, Tailwind, and code Playground JavaScript var x = "/Date(716841000000)/"; x = new Date(parseInt(x.substr(6))); alert(x);