The date-time seemed to be in “UTC” for other test-sites. Now it is in local as far as i can see.
Try this script for a few days, I changed only line 93 from gmdate() to date()
As the time difference here in wester Europe between UTC and local is small, this error was not found when testing.
PM or mail me if there are still problems.
Wim
P.S. better version attached at 15:21 UTC
gov_aqi_block.php.zip (3.09 KB)