Comment Comment by jes5199 nice! I have needed this before. I think you're using the Meeus algorithm from Astronomical Algorithms? it's a classic, great choice parent jes5199 2 years ago