Re: date_sunset returns time that is off

"He, who travels time to time" <[email protected]> Thu, 22 Sep 2022 07:14:28 -0700 (PDT)
Newsgroups alt.comp.lang.php
Message-ID <[email protected]>
Hey... Want to talk? Call me.... My telephone number >>>>

(+372) 56330687


Michael Joel kirjutas Esmasp=C3=A4ev, 28. mai 2012 kl 23:19:02 UTC+3:
> I am using date_sunset to try to get an accurate sunset time but=20
> according to weather websites it is about 5 minutes off.=20
>=20
> Example, I choose a town in northern Maine -=20
> echo date("h:i:s a", date_sunset($Today,SUNFUNCS_RET_TIMESTAMP,=20
> 46.07566, -67.50435, 90, -4));=20
>=20
> returns=20
> 08:06:52 pm=20
>=20
> This is 4 minutes off of weather websites and my GPS unit.=20
> I am using the default "Zenith" since I do not understand it or how to=20
> calculate it.=20
>=20
> I tried it for other places to and it was off.=20
> I tried it for other dates and it got worse.=20
>=20
> Any ideas?=20
>=20
> --=20
>=20
> Michael Joel