CurrentPhase

delphimoon

Current phase

Algorithms

Top  Previous  Next

 

Calculates the current phase

 

function Current_Phase(date:TDateTime): extended;

 

Description

Calculates the current phase of the moon, the percentage of the moon surface illuminated. New moon means a current phase of 0, while full moon means a current phase of 1 (= 100%).

 

Reference

This function is based upon chapters 48 (46) of "Astronogical Algorithms".