console.log(new Date(1549312452 * 1000).toISOString().slice(0, 19).replace('T', ' ')); // "2019-02-04 20:34:12"