Joe Petrini wrote: > Szymon 'tichy' wrote: >> On Sep 19, 3:30 pm, Marcin Raczkowski <mailing... / gmail.com> 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/ well looks like 3/4 of the code is simple unit exchange, anyway if you succeed please share ;)