User:Sirwhiteout/Sandbox/Selune-phase

Parameters for two days from now
It has been days since Selûne was last full. There have been principal phases since the last full moon. It has been days since the last principal phase, which was at :.

Calculating current phase
Today, Selûne is:

Test variables
What day it is (test):

Duration of the synodic month:

Days between quarter phases:

How many full moons since Jan 1st (test):

Time of the last full moon:, or h

What day of the lunar cycle it is (test):

How many principal phases after full:

Days since last principal phase:

Time into the day of last principal phase:

days, or h  min