home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.programming
- Path: sparky!uunet!nwnexus!osiris
- From: David Ruggiero <osiris@halcyon.com>
- Subject: Algorithm for sunrise/sunset given lat/long? (probable FAQ)
- Message-ID: <1992Sep16.030420.15479@nwnexus.WA.COM>
- Originator: osiris@halcyon.com
- Sender: sso@nwnexus.WA.COM (System Security Officer)
- Reply-To: David Ruggiero <osiris@halcyon.com>
- Organization: [none - why fight entropy?]
- Date: Wed, 16 Sep 1992 03:04:20 GMT
- Lines: 25
-
- [As stated in the subject line, I'm sure it has come up in this group
- before. Sorry, but...]
-
- Given the latitude/longitude for a given location, is there an approxiamate
- algorithm for determining sunrise and sunset times for that location for
- a given date?
-
- (Yes, I know that local time zones are fairly strange, with
- non-linear boundaries...I'm interested in the 'sun time' rather than the
- 'civilization time' as a first cut. And for the level of accuracy I'm looking
- for, oddities like the effect of leap years and altitude are similarily
- unimportant.)
-
-
- While we're at it, anyone know of an FTP-able program for the PC or Mac
- that shows the world map with day/night curve superimposed upon it for a
- given date/time? I've seen a [hideously expensive] standalone 'simulator'
- in several high-priced catalogs that does this, but nothing in the way of
- a program.
-
- Mucho thanks for any information or speculation...
-
- David
- --
- David Ruggiero (osiris@halcyon.com) Seattle, WA
-