capabilities.work

Build a sun and moon calendar for a location

A 3-step recipe with CycleCalcs. We can help you get access.

Recipe · 3 steps

Build a sun and moon calendar for a location

A per-day sun/moon table plus the lunar quarter instants.

  1. Sunrise, sunset, solar noon, day length and the three twilights, one row a day. lat and lon are required on this operation.
  2. Daily phase, illumination, distance and rise/set.
  3. The exact quarter instants in the window, with supermoon status under both competing rules and any attached eclipse.
What you'll need to have ready
  • lat
  • lon
  • tz
  • start: ISO date
  • end: ISO date
For your developer

Arazzo workflow cyclecalcs:sunAndMoonCalendar, 3 operations: getSun → getMoon → getPhases. Specs on APIs.io.