Wolfram.com
WolframAlpha.com
WolframCloud.com
Wolfram Language
Example Repository
Ready-to-use examples of the Wolfram Language
Primary Navigation
Categories
Astronomy
Audio Processing
Calculus
Cellular Automata
Chemistry
Complex Systems
Computer Science
Computer Vision
Control Systems
Creative Arts
Data Science
Engineering
Finance & Economics
Finite Element Method
Food & Nutrition
Geography
Geometry
Graphs & Networks
Image Processing
Life Sciences
Machine Learning
Mathematics
Optimization
Physics
Puzzles and Recreation
Quantum Computation
Signal Processing
Social Sciences
System Modeling
Text & Language Processing
Time-Related Computation
Video Processing
Visualization & Graphics
Alphabetical List
Submit a New Resource
Learn More about
Wolfram Language
Related Pages
Related Symbols
MoonPhase
Related Categories
Astronomy
Plotting Moon Phases
Find and plot the phase of the Moon for specific dates
Example Notebook
Open in Cloud
Download Notebook
Find the current phase of the Moon (fraction of Moon illuminated):
I
n
[
1
]
:
=
M
o
o
n
P
h
a
s
e
[
]
O
u
t
[
1
]
=
0
.
9
3
5
5
Show an icon version:
I
n
[
2
]
:
=
I
c
o
n
D
a
t
a
[
"
M
o
o
n
P
h
a
s
e
"
,
M
o
o
n
P
h
a
s
e
[
]
]
O
u
t
[
2
]
=
Find what the phase of the Moon will be next Sunday:
I
n
[
3
]
:
=
I
c
o
n
D
a
t
a
"
M
o
o
n
P
h
a
s
e
"
,
M
o
o
n
P
h
a
s
e
O
u
t
[
3
]
=
Find the phase of the Moon when Apollo 11 landed:
I
n
[
4
]
:
=
I
c
o
n
D
a
t
a
"
M
o
o
n
P
h
a
s
e
"
,
M
o
o
n
P
h
a
s
e
A
p
o
l
l
o
1
1
M
A
N
N
E
D
S
P
A
C
E
M
I
S
S
I
O
N
l
u
n
a
r
l
a
n
d
i
n
g
d
a
t
e
O
u
t
[
4
]
=
Compute the phases of the Moon for the next 100 days:
I
n
[
5
]
:
=
T
a
b
l
e
[
M
o
o
n
P
h
a
s
e
[
D
a
y
P
l
u
s
[
T
o
d
a
y
,
n
]
]
,
{
n
,
1
0
0
}
]
O
u
t
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