message.channel.send(`
\nThe Current Weather
\nLocation: ${parsedWeather.name}, ${parsedWeather.sys.country}
\nForecast: ${parsedWeather.weather[0].main}
\nCurrent Temperature: ${(Math.round(((parsedWeather.main.temp - 273.15) * 9 / 5 + 32)))}° F
\nHigh Temperature: ${(Math.round(((parsedWeather.main.temp_max - 273.15) * 9 / 5 + 32)))}° F
\nLow Temperature: ${(Math.round(((parsedWeather.main.temp_min - 273.15) * 9 / 5 + 32)))}° F
\nSun Rise: ${new Date((parsedWeather.sys.sunrise).toLocaleDateString("en-US"))}
\nSun Set: ${new Date((parsedWeather.sys.sunset).toLocaleDateString("en-US"))}
\nTime: ${new Date((parsedWeather.timezone).toLocaleDateString("en-US"))}
`);
I'm not sure how to properly type out my function so I do not receive an error the "parsedWeather.timezone" gives me a unix timestamp and I need it converted but this does not seem to be working I need it converted to MM/DD/YY Time, Time Zone