World Time Errors
Posted: Thu Apr 08, 2021 11:13 pm
This is the array:
$locations [] = array("Greenwich Mean Time UTC",51.47912,0.00,"UTC",'uk');
$locations [] = array("New York",40.7128,-74.0060,"America/New_York",'us');
$locations [] = array("Los Angeles",34.0522,118.2437,"America/Los_Angeles",'us');
$locations [] = array("Honolulu",21.3069,157.8583,"Pacific/Honolulu",'us');
$locations [] = array("Tokyo",35.68,139.68,"Asia/Tokyo",'jp');
$locations [] = array("Sydney",-33.86,151.20,"Australia/Sydney",'au');
$locations [] = array("Johannesburg",-33.92,18.42,"Africa/Johannesburg",'za');
I have settings set to digital and to the 24 hour clock. The time shows digital but AM PM for the main section and the drop down shows 24 hour time. Also, Los Angeles is showing sunrise at 14:45 and sunset at 03:32. Honolulu shows sunrise at 09:15 and sunset at 21:45. Is the array in error of is it the php file? Please advise. This is the link to my page:
https://k3csg.altervista.org/template/indexDesktop.php
$locations [] = array("Greenwich Mean Time UTC",51.47912,0.00,"UTC",'uk');
$locations [] = array("New York",40.7128,-74.0060,"America/New_York",'us');
$locations [] = array("Los Angeles",34.0522,118.2437,"America/Los_Angeles",'us');
$locations [] = array("Honolulu",21.3069,157.8583,"Pacific/Honolulu",'us');
$locations [] = array("Tokyo",35.68,139.68,"Asia/Tokyo",'jp');
$locations [] = array("Sydney",-33.86,151.20,"Australia/Sydney",'au');
$locations [] = array("Johannesburg",-33.92,18.42,"Africa/Johannesburg",'za');
I have settings set to digital and to the 24 hour clock. The time shows digital but AM PM for the main section and the drop down shows 24 hour time. Also, Los Angeles is showing sunrise at 14:45 and sunset at 03:32. Honolulu shows sunrise at 09:15 and sunset at 21:45. Is the array in error of is it the php file? Please advise. This is the link to my page:
https://k3csg.altervista.org/template/indexDesktop.php