Convert Local time into Long format from openweather Api – Javascript
I obtained data from open weather API dt:1679888142 timezone:7200 I'm trying to change UNIX time into local time by applying Date object in JavaScript followed by toUTCString() to get the local time. The goal is to change the obtained local…