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" <[EMAIL PROTECTED]> wrote in message 5.1.0.14.2.20030206161428.050f11c0@localhost">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.
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php