From: Joe Petrini Date: 2007-09-19T23:37:49+09:00 Subject: Re: How to compute Sunrise / Sunset ? Szymon 'tichy' wrote: > On Sep 19, 3:30 pm, Marcin Raczkowski wrote: >> Joe Joe wrote: > >> [...] > >> sunrise/sunset differ based on location and time, >> i think there are very complicated equations [...] > > Moderately complicated, I would say ;) > > http://en.wikipedia.org/wiki/Sunrise_equation I found some python code to do it. It's pretty complicated and before I tackle writing it in ruby, I figured I'd ask to see if anyone else has tackled it. http://kortis.to/radix/python/code/ -- Posted via http://www.ruby-forum.com/.