Difference between revisions of "Template:Fmp"
(Changed the divisor back to 29.5. See talk.) |
(This change sets up a 24-hour interval centered about an approximation of the real Full Moon (which actually varies by several hours from month to month.) |
||
Line 1: | Line 1: | ||
− | <noinclude>The number of the upcoming full moon phase is: | + | <noinclude>The number of the upcoming full moon phase is: </noinclude> |
− | ({{ | + | {{#expr:ceil (( {{#time:U|now}} |
− | + | - {{#time:U|October 12, 2011 2:06}} <!-- +seconds since first full moon in the programme --> | |
− | + | - (24 * 60 *60) <!-- -seconds the event lasts after full moon (est.) --> | |
− | + | ) / 86400 <!-- /seconds per day --> | |
− | | | + | / 29.530588853 ) }} <!-- /days per synodic month --> |
− | + | <noinclude><br> This number should increment just at the end of a given computed event. Note, this happens at a day after the estimated actual full moon and the times of each estimated Full Moon event are back-calculated from this point by [[Template:Fmc2]].</noinclude> | |
− | | | ||
− |
Revision as of 14:56, 5 December 2015
The number of the upcoming full moon phase is:
163
This number should increment just at the end of a given computed event. Note, this happens at a day after the estimated actual full moon and the times of each estimated Full Moon event are back-calculated from this point by Template:Fmc2.