in reply to Astro::MoonPhase Issue

($MoonPhase,$MoonIllum) = Astro::MoonPhase::phase(); print "$MoonIllum\n"; # prints 0.44839600941596

Replies are listed 'Best First'.
Re^2: Astro::MoonPhase Issue
by perl_n00b (Acolyte) on Nov 10, 2009 at 03:30 UTC
    Also, does this program actually use GMT? or is that a false assumption on my part?

      The code uses the epoch time (aka GMT or UTC) by default. The documentation states that the calculated values are those for an observer at the center of the earth, which would constitute a point source. There is no correction for the size of the earth or where you happen to be on it.