Re: [PATCH] new idate() - sunrise() - sunset() functions
| From: | Moshe Doron | Date: | Thu, 06 Feb 2003 15:02:06 +0000 |
| Subject: | Re: [PATCH] new idate() - sunrise() - sunset() functions | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94058@lists.php.net to get a copy of this message | ||
"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.