I have found much help in these articles, regarding moonphase computation:
Arnie
Article with picture
This blog uses FCKEditor.
Add new article
Hosted by arvixe.com