Sunrise equation

C++ source code for Windows.

Implements the so-called “sunrise equation”. Input a date and a longitude and latitude, and it calculates the time of sunrise and time of sunset.

This page was first published on June 2, 2021, last revised on June 2, 2021, and last republished on June 20, 2021.

Comments