From efe705d94a9030a0fa43d9a347478d2a8f58cd6e Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Mon, 12 Feb 2018 18:34:40 +0000 Subject: [PATCH] Document $zenith parameter This integrates user note 82801, and is supposed to make user note 47839 superfluous. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344247 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/datetime/functions/date-sunrise.xml | 33 ++++++++++++++++++- reference/datetime/functions/date-sunset.xml | 33 ++++++++++++++++++- 2 files changed, 64 insertions(+), 2 deletions(-) diff --git a/reference/datetime/functions/date-sunrise.xml b/reference/datetime/functions/date-sunrise.xml index fd4127f8c6..35d4f2acfe 100644 --- a/reference/datetime/functions/date-sunrise.xml +++ b/reference/datetime/functions/date-sunrise.xml @@ -94,7 +94,38 @@ zenith - Default: date.sunrise_zenith + zenith is the angle between the center of the sun + and a line perpendicular to earth's surface. It defaults to + date.sunrise_zenith + + Common <parameter>zenith</parameter> angles + + + + Angle + Description + + + + + 90°50' + Sunrise: the point where the sun becomes visible. + + + 96° + Civil twilight: conventionally used to signify the start of dawn. + + + 102° + Nautical twilight: the point at which the horizon starts being visible at sea. + + + 108° + Astronomical twilight: the point at which the sun starts being the source of any illumination. + + + +
diff --git a/reference/datetime/functions/date-sunset.xml b/reference/datetime/functions/date-sunset.xml index 6918742df8..726030aabd 100644 --- a/reference/datetime/functions/date-sunset.xml +++ b/reference/datetime/functions/date-sunset.xml @@ -96,7 +96,38 @@ zenith - Default: date.sunset_zenith + zenith is the angle between the center of the sun + and a line perpendicular to earth's surface. It defaults to + date.sunset_zenith + + Common <parameter>zenith</parameter> angles + + + + Angle + Description + + + + + 90°50' + Sunset: the point where the sun becomes invisible. + + + 96° + Civil twilight: conventionally used to signify the end of dusk. + + + 102° + Nautical twilight: the point at which the horizon ends being visible at sea. + + + 108° + Astronomical twilight: the point at which the sun ends being the source of any illumination. + + + +