I am making a watch app, where I need to know where there is currently sun, and where it's not.
I need to have some sort of formula/function to insert: date, time and longitude, and get back the latitude of the civil twilight.
How can I do this?
Astronomy Stack Exchange is a question and answer site for astronomers and astrophysicists. It only takes a minute to sign up.
Sign up to join this communityI am making a watch app, where I need to know where there is currently sun, and where it's not.
I need to have some sort of formula/function to insert: date, time and longitude, and get back the latitude of the civil twilight.
How can I do this?