I have used two php functions to find sunrise but they give answers differing by about five minutes. What did I do wrong, please
<!DOCTYPE html>
<html>
<body>
<?php
//Calculate the sunrise time for a point in Alaska
//Latitude: 61.4 North
//Longitude: 165.5 West
//Zenith ~= 90
//offset: +0 GMT
# The UNIX time stamp is the number of seconds from the start of
# 01 January 1970
$sun_info = date_sun_info(strtotime("2019-10-30"), 61.4, -165.5 );
foreach ($sun_info as $key => $val) {
echo "$key: " . date("H:i:s", $val) . "\n";
}
echo("<br>Sunrise time: ");
echo(date_sunrise(strtotime("2019-10-30"),SUNFUNCS_RET_STRING, 61.4,-165.5, 90, 0));
# This is 4 to 5 minutes after date_sun_info
?>
</body>
[Mod: fixed your code tags for you: triple backticks around entire blocks]