Skyfield has the functionality to compute the phases of the moon. but What if I wanted to know when would the moon be 20 degrees from the sun or 25 degrees from the sun.
How can I get the exact date and time when the sun and moon would be at a certain degree longitude?
Edit(for clarification): Is it possible to know the next (or previous) date and time the sun or moon would be at a certain position? Like skyfield provides a function to find when sun and moon are at 0 degrees or 180 degrees (new moon, full moon).