tryphp_func_date_sunrise.php:
Lisbon, Portugal"); echo("Date: " . date("D M d Y")); echo("
Sunrise time: "); echo(date_sunrise(time(),SUNFUNCS_RET_STRING,38.4,-9,90,1)); echo("
Sunset time: "); echo(date_sunset(time(),SUNFUNCS_RET_STRING,38.4,-9,90,1)); ?>
Lisbon, Portugal
Date: Sat Oct 07 2023
Sunrise time: 07:40
Sunset time: 19:06