NearestPhase

delphimoon

Nearest phase

Algorithms

Top  Previous  Next

 

Calculates the nearest phase for the given date

 

function Nearest_Phase(date:TDateTime): TMoonPhase

 

Description

Calculates the phase closest to the given date, calculated by the age of the moon.

 

Reference

This function is based upon chapters 47 (45) and 25 (24) of "Astronomical Algorithms".