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]
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 prefix
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
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
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
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() - sunrise() - sunset() functions
well
(), 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() - sunrise() - sunset()
functions
well, what about sun_set(), sun_rise()?
moshe
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 http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
Subject: Re: [PHP-DEV] [PATCH] new idate() - sunrise() - sunset() functions
well, what about sun_set(), sun_rise()?
moshe
--
Andi Gutmans [EMAIL PROTECTED] wrote in message
AH [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
At 12:47 PM 2/7/2003 +0200, moshe doron wrote:
Andi Gutman
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
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:
At 13:36 06/02/2003, moshe doron wrote:
b. sunrise()
c. sunset()
Hrm, what are these functions?
Zeev
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
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
- 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 [EMAIL PROTECTED] wrote in message
5.1.0.14.2.20030206161428.050f11c0
shouldn't be gtm_offset - gmt_offset
yep, my mistake.
moshe.
--
--
PHP Development Mailing List http://www.php.net/
To unsubscribe, visit: http://www.php.net/unsub.php
-DEV] [PATCH] new idate() - sunrise() - sunset() functions
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
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
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 bunch
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 a
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 preflight a
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.
21 matches
Mail list logo