From: Steve Staples

> On Fri, 2010-10-08 at 13:33 -0400, Daniel Brown wrote:
>> On Fri, Oct 8, 2010 at 13:29, ELY M. <> wrote:
>> > I did a search thru all places on for moonrise and moonset
>> > functions or any comments about moonrise and moonset.
>> > I can not find anything about moonrise and moonset.
>> > I am not sure where to submit my ideas.
>> > I would like to suggest to php developers to add in the moonrise
>> > moonset functions.
>> > I think the moonrise and moonset functions should be added in php.
>> > date_moonrise
>> > date_moonset
>> > date_moon_info
>> > those functions would be great to have in future version of php.
> >
> >     Do it as a feature request at and we'll
>> into it.  In related matters, I just approved a user note with a code
>> snippet example for sunrise and sunset.
> In his defense, he was talking abut moonrise, and moonset... in some
> cases, the moon is up during the middle of the day... 
> this originally started out a joke reply... but then after thinking
> about what to say, I realized that the moonrise/set does not follow
> sun... crap, i hate my brain... LOL
> on a side note, where would you even get this info?  is there a set
> formula for sunrise/set?

It would also require both latitude and longitude input parameters.
Rough guess in temperate zones is that for each 250 miles you move west,
it delays the event by 15 minutes. But when you get within 22 degrees of
a pole, the event may not occur for days, or weeks, or ...

Bob McConnell

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to