Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Compute the date of a specific phase of the Moon
ResourceFunction["MoonPhaseDate"][] computes the date of the next full moon. | |
ResourceFunction["MoonPhaseDate"][date] computes the date of the next full moon after the specified date. | |
ResourceFunction["MoonPhaseDate"][phase] computes the date of the next phase of the Moon. | |
ResourceFunction["MoonPhaseDate"][date,phase] computes the date of the next specified phase of the Moon after the specified date. | |
ResourceFunction["MoonPhaseDate"][dateinterval] computes the dates of the full moons within the specified dateinterval. | |
ResourceFunction["MoonPhaseDate"][dateinterval,phase] computes the dates of the specified phase of the Moon within the specified dateinterval. |
| 1 | next event (default) |
| 0 | nearest event |
| -1 | previous event |
Find the time of the next full moon:
| In[1]:= |
|
| Out[1]= |
|
Next new moon:
| In[2]:= |
|
| Out[2]= |
|
Next full moon after a given date:
| In[3]:= |
|
| Out[3]= |
|
Next new moon after a given date:
| In[4]:= |
|
| Out[4]= |
|
Find all the full moons within a date interval:
| In[5]:= |
|
| Out[5]= |
|
Find all the new moons within a date interval:
| In[6]:= |
|
| Out[6]= |
|
Next first-quarter moon:
| In[7]:= |
|
| Out[7]= |
|
Next last-quarter moon:
| In[8]:= |
|
| Out[8]= |
|
Next waxing crescent moon:
| In[9]:= |
|
| Out[9]= |
|
Next waning crescent moon:
| In[10]:= |
|
| Out[10]= |
|
Next waxing gibbous moon:
| In[11]:= |
|
| Out[11]= |
|
Next waning gibbous moon:
| In[12]:= |
|
| Out[12]= |
|
Next first-quarter moon after a given date:
| In[13]:= |
|
| Out[13]= |
|
Next last-quarter moon after a given date:
| In[14]:= |
|
| Out[14]= |
|
Next waxing crescent moon after a given date:
| In[15]:= |
|
| Out[15]= |
|
Next waning crescent moon after a given date:
| In[16]:= |
|
| Out[16]= |
|
Next waxing gibbous moon after a given date:
| In[17]:= |
|
| Out[17]= |
|
Next waning gibbous moon after a given date:
| In[18]:= |
|
| Out[18]= |
|
Find all the first-quarter moons within a date interval:
| In[19]:= |
|
| Out[19]= |
|
Find all the last-quarter moons within a date interval:
| In[20]:= |
|
| Out[20]= |
|
Find all the waxing crescent moons within a date interval:
| In[21]:= |
|
| Out[21]= |
|
Find all the waning crescent moons within a date interval:
| In[22]:= |
|
| Out[22]= |
|
Find all the waxing gibbous moons within a date interval:
| In[23]:= |
|
| Out[23]= |
|
Find all the waning gibbous moons within a date interval:
| In[24]:= |
|
| Out[24]= |
|
Compute the next full moon in a specific time zone:
| In[25]:= |
|
| Out[25]= |
|
Compute the nearest full moon:
| In[26]:= |
|
| Out[26]= |
|
Compute the previous full moon:
| In[27]:= |
|
| Out[27]= |
|
Compute the nearest new moon:
| In[28]:= |
|
| Out[28]= |
|
Compute the previous new moon:
| In[29]:= |
|
| Out[29]= |
|
Compute the nearest first quarter moon:
| In[30]:= |
|
| Out[30]= |
|
Compute the previous first quarter moon:
| In[31]:= |
|
| Out[31]= |
|
Compute the nearest last quarter moon:
| In[32]:= |
|
| Out[32]= |
|
Compute the previous last quarter moon:
| In[33]:= |
|
| Out[33]= |
|
This work is licensed under a Creative Commons Attribution 4.0 International License