Sunset and Sunrise time.

2220

Member
Licensed User
Hello

I'd like to write sunset and sunrise time functions knowing GPS coordinates.

I have no idea how to calculate.

Can anybody help me?

Regards.
 

alfcen

Well-Known Member
Licensed User
GPS-Astro

Hello 2220,

Attached, please find a template of a program that retrieves
GPS longitude and latitude to calculate sunrise and sunset.
It also computes Sun Ephemerides and Moon Ephemerides (tap
on the image at the bottom right). The application employs
the latest GPSDriver.dll in that it will run on WM5 and WM6.x
devices only. Copy DS-DIGI.TTF to \Windows\Fonts.
There is plenty of room for enhancement and improvements :)
Cheers
Robert
 

Attachments

Top