JSFiddle - React, Tailwind, and code Playground

JavaScript

var DT = new Date(1547036339 * 1000);
var L = DT.getUTCFullYear() + '-0' + (DT.getUTCMonth() + 1) + '-0' + DT.getUTCDate() + '     0' + DT.getUTCHours() + ':0' + DT.getUTCMinutes() + ':0' + DT.getUTCSeconds()
document.write("Local timestamp " + L)