int8_t moon_phase

int8_t moon_phase(const time_t *timer)

Returns an approximation to the phase of the moon. The sign of the returned value indicates a waning or waxing phase. The magnitude of the returned value indicates the percentage illumination.