Sunset and sunrise time
How to calculate the sun set and sun rise time and as well as moon set and moon rise time in php. Is there is any special functions to calculate these timing?
I have to calculate it according to the timezone.
Re: Sunset and sunrise time
No. there is nothing in PHP and nor in any other language. You have to get the timing and store them in database. Also it is not based on timezone but it is based on geography. Like in India the Sunset Time in West Bengal is not same as that in Kerala but both have same time zone.
|All times are GMT +5.5. The time now is 04:41.|