I tried that algorithm and it did not seem to agree all that well with more sophisticated ones... This one seems to work better: http://www.astronomycorner.net/games/analemma.c ------------------ See www.leapsecond.com/tools/eot1.c, source code that generates the equation of time and its derivative