I've used this in my weather app:
http://williams.best.vwh.net/sunrise_sunset_algorithm.htm
which I converted to UnityScript:
http://www.geekyhamster.com/2013/03/so-it-begins-with-algorithm.html
Trending Articles
More Pages to Explore .....