MoonPhaseDate
returns the date of the next new moon.
MoonPhaseDate[phase]
returns the date of the next instance of the given phase of the Moon.
MoonPhaseDate[date,phase]
returns the date for the first instance of the given phase after date.
Details and Options
- The phase of the Moon describes the angle between the Moon and Sun, which determines the apparent shape of the Moon, as observed from the Earth.
- MoonPhaseDate reports dates of new moons, full moons or any other phase of the Moon.
- In MoonPhaseDate[phase], the phase can be given as a named case, such as "NewMoon" or "FirstQuarter", an entity such as Entity["MoonPhase","New"], or as a continuous real number with value 0 for a new moon, 0.25 for the first quarter, 0.5 for a full moon, 0.75 for the last quarter and 1 for the following new moon.
- In MoonPhaseDate[date,phase], date can be any DateObject expression.
- Options of MoonPhaseDate include:
-
CalendarType Automatic calendar used to return dates DateFormat Automatic format used to display output dates DateGranularity Automatic calendar granularity of output dates TimeDirection 1 whether to return the next or last new moon TimeSystem Automatic time system of output dates TimeZone $TimeZone time zone of output dates
Examples
open allclose allBasic Examples (3)
Scope (2)
Options (6)
CalendarType (1)
MoonPhaseDate returns dates in the Gregorian calendar by default:
DateFormat (1)
MoonPhaseDate returns dates in a long format by default:
DateGranularity (1)
MoonPhaseDate returns dates with granularity "Instant" by default:
TimeDirection (1)
MoonPhaseDate finds the next new moon by default:
TimeSystem (1)
MoonPhaseDate returns dates in universal time by default:
TimeZone (1)
MoonPhaseDate returns dates in your local time zone by default:
Properties & Relations (5)
At every new moon, the Sun and the Moon have the same ecliptic longitude:
There will be a solar eclipse if the difference in ecliptic latitude is small enough:
MoonPhaseDate gives the date of a given phase of the Moon:
MoonPhase gives illumination fractions and names:
Entity phases can also be used in MoonPhaseDate:
NewMoon is the particular case of MoonPhaseDate for new moons:
FullMoon is the particular case of MoonPhaseDate for full moons:
Find the date of a random Moon phase value p:
This date can also be obtained using FromLunationNumber, using p as the decimal part of the current integer lunation number:
Text
Wolfram Research (2024), MoonPhaseDate, Wolfram Language function, https://reference.wolfram.com/language/ref/MoonPhaseDate.html.
CMS
Wolfram Language. 2024. "MoonPhaseDate." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/MoonPhaseDate.html.
APA
Wolfram Language. (2024). MoonPhaseDate. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/MoonPhaseDate.html