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
Longtime 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

  • astro-gps.zip
    374.6 KB · Views: 277
  • sshot000.jpg
    sshot000.jpg
    17.5 KB · Views: 282
  • sshot001.jpg
    sshot001.jpg
    16.5 KB · Views: 261
  • sshot002.jpg
    sshot002.jpg
    17.1 KB · Views: 258
Top