The reason why want to convert to local time is so that I can change the background with images. So in the end I want to have time output like 12:00 or 20:00. My JSON looks like:
{
"lat":52.37,
"lon":4.89,
"timezone":"Europe/Amsterdam",
"timezone_offset":7200,
"current":{
"dt":1593619296,
"sunrise":1593573770,
"sunset":1593633935,
"temp":20.09,
"feels_like":13.21,
"pressure":1006,
"humidity":56,
"dew_point":11.05,
"uvi":6.73,
"clouds":20,
"visibility":10000,
"wind_speed":10.3,
"wind_deg":260,
"weather":[
{
"id":801,
"main":"Clouds",
"description":"few clouds",
"icon":"02d"
}
],
"rain":{
}
},