Hi,
Assuming a single geographic location, can't you download a table of these times, and simply look them up based on their dates? Nautical twilight, sunset, etc., are all available. May as well throw in the phases of the moon, Calculating them is possible, but unless you are doing that just for the thrill, well.... Craig Newman -----Original Message----- From: Charles E Buchwald <char...@buchwald.ca> To: How to use LiveCode <use-livecode@lists.runrev.com> Sent: Fri, Aug 22, 2014 7:46 pm Subject: Sunset, sunrise, twilight calculations in LC? Hi List People, Does anyone know of an LC version of sunrise/sunset and twilight calculations? I found a couple of web based APIs, but I'd like it to work offline. I found this: http://en.wikipedia.org/wiki/Sunrise_equation ... but it's going to take me a while to translate that into LC, which is why I'm asking. - Charles -- Charles E. Buchwald CEO/Director General Museografica Digital http://digital.museografica.com Mac OSX 10.9.4, LC 6.6.2 Commercial LC Developer Tools: http://buchwald.ca/developer-tools/ Email Notice: http://wp.me/P3aT4d-33 _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode