is a two-dimensional GeoGraphics primitive that represents the half of the Earth that is currently in daylight.
DayHemisphere[datespec]
represents the daylight half of the Earth for the specified date.
DayHemisphere
is a two-dimensional GeoGraphics primitive that represents the half of the Earth that is currently in daylight.
DayHemisphere[datespec]
represents the daylight half of the Earth for the specified date.
Details and Options
- datespec can be a DateObject or a string that resolves to a date.
- A date without explicit time zone is assumed to use $TimeZone.
- The DayHemisphere[…] primitive can be used in maps of solar system bodies other than Earth, such as planets and many of their moons.
- The option ReferenceAltitude specifies how to define the terminator line, separating the day and night hemispheres. Possible values include:
-
Automatic upper limb of the Sun crosses zero altitude alt center of the Sun crosses numeric altitude alt {alt,limb} the given limb of the Sun crosses numeric altitude alt "Civil" the center of the Sun has altitude –6 degrees "Nautical" the center of the Sun has altitude –12 degrees "Astronomical" the center of the Sun has altitude –18 degrees - The reference altitude angle alt can be given as a Quantity angle or as a numeric expression interpreted in angular degrees.
- Possible values for the limb of the Sun include:
-
"UpperLimb" upper limb of the Sun "Center" central point of the Sun "LowerLimb" lower limb of the Sun limb numeric value between –1 (lower limb) and 1 (upper limb)
Examples
open all close allBasic Examples (2)
Color the part of the Earth currently in daylight:
GeoGraphics[{GeoStyling[Opacity[0.5], Yellow], DayHemisphere[]}, GeoRange -> "World"]Show the illuminated part of the Earth on the next summer solstice using red lines to denote the Arctic and Antarctic Circles:
solstice = FindAstroEvent["JuneSolstice"]GeoGraphics[{GeoStyling[Opacity[0.5], Yellow], DayHemisphere[solstice], Red, GeoPath["ArcticCircle"], GeoPath["AntarcticCircle"]}, GeoRange -> "World"]GeoGraphics[{GeoStyling[Opacity[0.5], Yellow], DayHemisphere[solstice], Red, GeoPath["ArcticCircle"], GeoPath["AntarcticCircle"]}, GeoRange -> "World", GeoProjection -> "Bonne"]Scope (3)
DayHemisphere[] gives a plot for the current date and time:
GeoGraphics[DayHemisphere[]]Using Now explicitly gives the same result:
GeoGraphics[DayHemisphere[Now]]Illustrate changes in the illuminated hemisphere at different times of day and year:
GeoGraphics[Table[{GeoStyling[Opacity[0.2], Hue[n / 12]], DayHemisphere[DateObject[{2014, n, 1, 2n, 0, 0}]]}, {n, 1, 12}]]Specify dates in other formats:
GeoGraphics[DayHemisphere["31 December 2000"]]GeoGraphics[DayHemisphere[Tomorrow]]Options (1)
ReferenceAltitude (1)
By default, DayHemisphere corresponds to the part of the Earth for which the Sun is above the horizon:
GeoGraphics[{StandardYellow, DayHemisphere[]}]Show the parts of the Earth including the areas of civil, nautical and astronomical twilight:
dayHemispheres = {
DayHemisphere[],
DayHemisphere[ReferenceAltitude -> "Civil"],
DayHemisphere[ReferenceAltitude -> "Nautical"],
DayHemisphere[ReferenceAltitude -> "Astronomical"]
};GeoGraphics[{StandardYellow, dayHemispheres}]Their meaning is clearer in a world map using the "Orthographic" projection:
Manipulate[GeoGraphics[{StandardYellow, dayHemispheres}, GeoProjection -> "Orthographic", GeoCenter -> {lat, lon}], {{lat, 0}, -90, 90}, {{lon, 0}, -180, 180}, SaveDefinitions -> True]
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Properties & Relations (2)
The terminator line separates the day and night hemispheres:
GeoGraphics[{GeoStyling[Opacity[0.5], Yellow], DayHemisphere[], GeoStyling[Opacity[0.5], Black], NightHemisphere[], Red, DayNightTerminator[]}]For a spherical model of the Earth, the day hemisphere is a geo disk:
sun = AstroSubpoint["Sun"]d = GeoDistance[sun, GeoAntipode[sun]] / 2GeoGraphics[{DayHemisphere[], GeoStyling[Opacity[0.3], Red], GeoDisk[sun, d]}, GeoRange -> "World"]The true day hemisphere and approximate daylight geo disk differ slightly when using an ellipsoidal model of the Earth:
GeoGraphics[{DayHemisphere[], GeoStyling[Opacity[0.3], Red], GeoDisk[sun, d]}, GeoCenter -> GeoDestination[sun, {d, 90}], GeoRange -> Quantity[20, "Miles"], Frame -> True]Tech Notes
Related Guides
Text
Wolfram Research (2014), DayHemisphere, Wolfram Language function, https://reference.wolfram.com/language/ref/DayHemisphere.html (updated 2026).
CMS
Wolfram Language. 2014. "DayHemisphere." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2026. https://reference.wolfram.com/language/ref/DayHemisphere.html.
APA
Wolfram Language. (2014). DayHemisphere. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DayHemisphere.html
BibTeX
@misc{reference.wolfram_2026_dayhemisphere, author="Wolfram Research", title="{DayHemisphere}", year="2026", howpublished="\url{https://reference.wolfram.com/language/ref/DayHemisphere.html}", note=[Accessed: 12-June-2026]}
BibLaTeX
@online{reference.wolfram_2026_dayhemisphere, organization={Wolfram Research}, title={DayHemisphere}, year={2026}, url={https://reference.wolfram.com/language/ref/DayHemisphere.html}, note=[Accessed: 12-June-2026]}