Incidentally you know your system will only work in the Northern hemisphere. If you use it in the southern hemisphere you have to hang it up side down otherwise the phase will be in the wrong direction.
currentPhase = getPhase(fullYear, month, day);if((SouthernHemi) && (currentPhase != 0 && currentPhase != 63)) currentPhase = ~currentPhase; // phase 0 is NEW moon, and phase 63 (00111111b) is FULL moon.updateMoon(currentPhase);
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16