mldvx4 has asked for the wisdom of the Perl Monks concerning the following question:

I've been searching a bit and not finding the right module.

Which module should I be using to calculate summer and winter solstices, and autumn and spring equinoxes?

That is my main task at the moment, but if there is also a way to calculate Chinese New Year from the same or another module, that will help in a later task.

  • Comment on Which module for finding Equinoxes and Solstices

Replies are listed 'Best First'.
Re: Which module for finding Equinoxes and Solstices
by hippo (Archbishop) on Mar 05, 2021 at 11:39 UTC
    I've been searching a bit and not finding the right module.

    You haven't said what search terms you used. I tried "solstice" and immediately found Astro::Montenbruck::SolEqu which seems to do what you require.


    🦛

Re: Which module for finding Equinoxes and Solstices
by haukex (Archbishop) on Mar 05, 2021 at 16:17 UTC