RE: [IDEA] date_moonrise, date_moonset, and date_moon_info for calculating moonrise and moonset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. <sec@xxxxxxxxx> wrote:
>> > I did a search thru all places on php.net 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
and
>> > 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 http://bugs.php.net/ and we'll
look
>> 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
the
> 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 (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux