const epochTimeConverter = (timestamp) => { const timestampDate = new Date(0); timestampDate.setUTCSeconds(timestamp); return (`${timestampDate.getMonth() + 1} ${ timestampDate.getDate()}, ${ timestampDate.getFullYear()}, ${ timestampDate.getHours()}:${ timestampDate.getMinutes()}:${ timestampDate.getSeconds()}`); }; export default epochTimeConverter;