const unixToDate = (string) => { const unixTime = string; const date = new Date(unixTime * 1000); const newText = date.toLocaleDateString("en-US"); return newText };