emo (version 0.0.0.9000)

day_in_synodic_cycle: Calculate the number of days in the synodic month

Description

This uses the approximation described in the [lunar phase wikipedia page](https://en.wikipedia.org/wiki/Lunar_phase), i.e. the number of days since `1900/01/01` modulo the length of a synodic month (`29.530588853` days)

Usage

day_in_synodic_cycle(date)

Arguments

date

a date

Examples

Run this code
# NOT RUN {
day_in_synodic_cycle( today() )
# }

Run the code above in your browser using DataLab