Could you use

    #set $days=$almanac.moon.moon_fullness * .2953
    <p>The moon is $days days old.</p>

.2953 is the length of the lunar cycle, divided by 100.

On Tue, Mar 30, 2021 at 1:41 AM P C <[email protected]> wrote:

>
> Hello, again me ;)
>
> I am looking for the tag of the age of the moon (in days) that goes from
> New Moon in New Moon in 29 days. This means that the full moon is between
> the 14th and the 15th day.
>
> NB: Pyephem is installed
>
> Thank you !
>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/1cfbff31-a41c-4da6-a12c-49b251e5f7e2n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/1cfbff31-a41c-4da6-a12c-49b251e5f7e2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEADYLZQLTfzR30skH0yBvFDPEe3Zuw0w3vuwEGjmE5yMw%40mail.gmail.com.

Reply via email to