Re: [PATCH] new idate() - sunrise() - sunset() functions

From: Date: Fri, 07 Feb 2003 08:22:35 +0000
Subject: Re: [PATCH] new idate() - sunrise() - sunset() functions
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-94085@lists.php.net to get a copy of this message
I haven't been following this whole discussion. However, the function names should follow the coding standards and be named something like date_sunrise(), date_sunset() (or whatever other prefix makes sense). Andi At 05:02 PM 2/6/2003 +0200, Moshe Doron wrote:
"Zeev Suraski" <zeev@zend.com> wrote in message news:5.1.0.14.2.20030206161428.050f11c0@localhost... At 13:36 06/02/2003, moshe doron wrote:
    b. sunrise()
    c. sunset()
Hrm, what are these functions? * {{{ proto mixed sunrise(mixed time[, double latitude][, double longitude][, double zenith,][ double gtm_offset][, int format]) Returns time of sunrise for a given day & location */ /* {{{ proto mixed sunset(mixed time[, double latitude][, double longitude][, double zenith,][ double gtm_offset][, int format]) Returns time of sunset for a given day & location */ i wrote those functions as infrastructures for the calendar extension for returning optionaly the 'real' date depending on the calendar native e.g, the jewish dayes are "come by the night" mean the day is changed on sunset. the information is is also used for other religion tasks (e.g, jewish and arabic prayer times), for astronomy studies and for travelers design.


« previous php.dev (#94085) next »