This code is public domain by the Plataforma Solar Almeria http://www.psa.es/sdg/sunpos.htm All times are expected in UTC/GMT