<-- Previous || Up || Next -->

Moon Phase Name Function
Dates Times Class

Public Function MoonPhaseName( _
    ByVal vPhase As Variant _
    ) As Variant

Returns the name of the moon phase given its number between 0 and 7.
Use the MoonPhase function to determine the phase of the moon for a given date.

Examples:
    MoonPhase(#11/12/1999#) = 0
    MoonPhaseName(0) = "New Moon"
    MoonPhase(#12/25/1999#) = 4
    MoonPhaseName(4) = "Full Moon"
See also:
    MoonPhase Function
vPhase: The phase of the moon (between 0 and 7) whose name is returned. Function returns Null if vPhase is Null or cannot be fixed up to an integer number.
v2.0 Addition: This function is new to this version of Entisoft Tools.

Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.