NightHemisphere
NightHemisphere[] is a two-dimensional GeoGraphics primitive that represents the half of the Earth currently in darkness.
NightHemisphere[datespec] represents the night half of the Earth for the specified date.
Examples
Show the current night hemisphere:
GeoGraphics[{Gray, NightHemisphere[]}]Show night hemisphere for a specific date:
GeoGraphics[{Gray, NightHemisphere[DateObject[{2024, 6, 21, 12, 0}]]}]Please visit the official Wolfram Language Reference for more details.