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

2003-02-07 Thread Maxim Maletsky
On Fri, 07 Feb 2003 14:48:50 +0200 Andi Gutmans <[EMAIL PROTECTED]> wrote: > At 02:37 PM 2/7/2003 +0200, moshe doron wrote: > >well, what about sun_set(), sun_rise()? me too :) We are not going to have the whole sun extension (which is what this naming convention suggests) :) If ever these two

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

2003-02-07 Thread Tom Rogers
ED]> AH> Sent: Friday, February 07, 2003 2:37 PM AH> Subject: Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions >> well, what about sun_set(), sun_rise()? >> >> moshe >> -- >> >> >> "Andi Gutmans" <[EMAIL PROTECTED]

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

2003-02-07 Thread Andi Gutmans
At 02:37 PM 2/7/2003 +0200, moshe doron wrote: well, what about sun_set(), sun_rise()? I hope you're kidding. Andi -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-02-07 Thread nicos
good idea. > date_sunset(), date_sunrise() are better. > > > Andrey > > > - Original Message - > From: "moshe doron" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, February 07, 2003 2:37 PM > Subject: Re: [PHP-DEV] [PATCH]

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

2003-02-07 Thread Andrey Hristov
I don't think this is good idea. date_sunset(), date_sunrise() are better. Andrey - Original Message - From: "moshe doron" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 07, 2003 2:37 PM Subject: Re: [PHP-DEV] [PATCH] new idate() - sun

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

2003-02-07 Thread Pierre-Alain Joye
On Fri, 7 Feb 2003 14:37:32 +0200 "moshe doron" <[EMAIL PROTECTED]> wrote: > well, what about sun_set(), sun_rise()? date_sunset() (or date_sun_set ;) ) if it is defined in the date/time section or cal_sunset() if it is defined within the calendar extension. my 2cts, hth pierre -- PHP Devel

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

2003-02-07 Thread moshe doron
well, what about sun_set(), sun_rise()? moshe -- "Andi Gutmans" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At 12:47 PM 2/7/2003 +0200, moshe doron wrote: > >"Andi Gutmans" <[EMAIL PROTECTED]> wrote in message > >[EMAIL PROTECTED]">news:[EMAIL

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

2003-02-07 Thread Andi Gutmans
At 12:47 PM 2/7/2003 +0200, moshe doron wrote: "Andi Gutmans" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I haven't been following this whole discussion. > However, the function names should follow the coding standards and be named > something like date_su

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

2003-02-07 Thread moshe doron
"Andi Gutmans" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 pre

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

2003-02-07 Thread Andi Gutmans
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" <[EMAIL PROTECTED]

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

2003-02-06 Thread Brian Foddy
I would be very interested. And not just for PHP, tho I would like to see a PHP function for it. We have several apps that are currently obtaining the GMT offset the old-fashion way. 1. Set the TZ=GMT, perform a mktime call. 2. Set TZ to local timezone, perform the same mktime call. 3. Subtrac

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

2003-02-06 Thread Moshe Doron
"David Gillies" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In a similar itch-scratching moment I whipped up a > trivial PHP module that groks tzfile timezone files to > give you the offset from GMT at any time in the Unix > epoch. I needed this to prefl

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

2003-02-06 Thread Ilia A.
On February 6, 2003 11:17 am, David Gillies wrote: > In a similar itch-scratching moment I whipped up a > trivial PHP module that groks tzfile timezone files to > give you the offset from GMT at any time in the Unix > epoch. I needed this to preflight a bunch of data > which had been gathered with

RE: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread David Sklar
> From: David Gillies [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 06, 2003 11:18 AM > > In a similar itch-scratching moment I whipped up a > trivial PHP module that groks tzfile timezone files to > give you the offset from GMT at any time in the Unix > epoch. I needed this to preflight a

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

2003-02-06 Thread David Gillies
In a similar itch-scratching moment I whipped up a trivial PHP module that groks tzfile timezone files to give you the offset from GMT at any time in the Unix epoch. I needed this to preflight a bunch of data which had been gathered with a lot of disparate time zones into a single UTC version, but

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

2003-02-06 Thread Maxim Maletsky
ROTECTED]> > Sent: Thursday, February 06, 2003 5:02 PM > Subject: Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions > > > > > > "Zeev Suraski" <[EMAIL PROTECTED]> wrote in message > 5.1.0.14.2.20030206161428.050f11c0@localhost">news

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

2003-02-06 Thread moshe doron
> shouldn't be gtm_offset -> gmt_offset > yep, my mistake. moshe. -- -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

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

2003-02-06 Thread Andrey Hristov
- Original Message - From: "Moshe Doron" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 06, 2003 5:02 PM Subject: Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions > > "Zeev Suraski"

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

2003-02-06 Thread Moshe Doron
"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 mix

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

2003-02-06 Thread Zeev Suraski
At 13:36 06/02/2003, moshe doron wrote: b. sunrise() c. sunset() Hrm, what are these functions? Zeev -- PHP Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions

2003-02-06 Thread moshe doron
1. here is new 3 functions a. idate() the same as date but get one format and returns integer. b. sunrise() c. sunset() on the attachment, sunfuncs1.patch is diff, the sunfunc.tar one is the new source files + tests. here is the web version: http://212.199.221.100/moshe/sunfun