plate-engine - v0.1.0
    Preparing search index...

    Function moonPhase

    • The moon's elongation from the sun along the ecliptic (which is how the phases are defined), the lit fraction of the disc and the distance.

      Parameters

      • date: number | Date

        A Date or a Unix time in milliseconds.

      Returns MoonPhase