calculate_moon_phase
Calculate moon phase, illumination percentage, and age in days for any date. Input a date to receive phase name, illumination %, and days into cycle. Ideal for astronomy, agriculture, and fishing planning.
Instructions
Compute current moon phase and illumination % for any date. Use for astronomy, agriculture, fishing. Inputs: date. Returns phase name, illumination %, age in days. See list_bundles for related 'astronomie-nature' calculators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date in YYYY-MM-DD format |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Computed result. Object whose fields depend on the tool (e.g. {tax, marginal_rate, brackets} for tax tools, {volume_l, gallons} for volume tools). | |
| formula | No | Human-readable formula or method used (e.g. "I=P·r·t", "Magnus formula"). | |
| source | No | Authoritative source for the rule or formula (e.g. "Article 197 CGI", "NF DTU 21"). | |
| reference_url | No | Link to a calcul2 page documenting the calculation in detail. |