Skip to content

Calculate sunrise and sunset anywhere on earth at any time of year

License

Notifications You must be signed in to change notification settings

sikvall/sunriset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple tool to calculate the sunrise and sunset from a given position
and time of year on planet earth. Based on various contributions but
mainly Paul Schlyters "sunriset" that I have tried to improved on.

Source is public domain and free for all to use.

I ask people to honor an MIT License however.

compile with math library

gcc -o sunriset main.c -lm

About

Calculate sunrise and sunset anywhere on earth at any time of year

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published