Re: [PHP] dst and strtotime

2007-03-14 Thread Tijnema !
inal Message- >>>> >> From: Jake McHenry [mailto:[EMAIL PROTECTED] >>>> >> Sent: Tuesday, March 13, 2007 11:22 AM >>>> >> To: For users of Fedora; PHP-General >>>> >> Subject: Re: [PHP] dst and strtotime >>>&g

Re: [PHP] dst and strtotime

2007-03-14 Thread Jake McHenry
<[EMAIL PROTECTED]> wrote: >> -Original Message- >> From: Jake McHenry [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, March 13, 2007 11:22 AM >> To: For users of Fedora; PHP-General >> Subject: Re: [PHP] dst and strtotime >> >> A little m

Re: [PHP] dst and strtotime

2007-03-14 Thread Richard Lynch
cHenry <[EMAIL PROTECTED]> wrote: >>> >>> >>> >> -Original Message- >>> >> From: Jake McHenry [mailto:[EMAIL PROTECTED] >>> >> Sent: Tuesday, March 13, 2007 11:22 AM >>> >> To: For users of Fedora

Re: [PHP] dst and strtotime

2007-03-13 Thread Jake McHenry
On Tue, 2007-03-13 at 18:44 +0100, Tijnema ! wrote: On 3/13/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > On Tue, 2007-03-13 at 13:02 -0400, Robert Cummings wrote: > > > > Well that's strange since PHP4 and 5 both use the same ini file on my > > dev box. And so they both get the following i

Re: [PHP] dst and strtotime

2007-03-13 Thread Robert Cummings
On Tue, 2007-03-13 at 18:44 +0100, Tijnema ! wrote: > On 3/13/07, Robert Cummings <[EMAIL PROTECTED]> wrote: > > On Tue, 2007-03-13 at 13:02 -0400, Robert Cummings wrote: > > > > > > Well that's strange since PHP4 and 5 both use the same ini file on my > > > dev box. And so they both get the follow

Re: [PHP] dst and strtotime

2007-03-13 Thread Tijnema !
On 3/13/07, Robert Cummings <[EMAIL PROTECTED]> wrote: On Tue, 2007-03-13 at 13:02 -0400, Robert Cummings wrote: > > Well that's strange since PHP4 and 5 both use the same ini file on my > dev box. And so they both get the following ini setting: > > date.timezone="Canada/Eastern" > > And in p

Re: [PHP] dst and strtotime

2007-03-13 Thread Robert Cummings
On Tue, 2007-03-13 at 13:02 -0400, Robert Cummings wrote: > > Well that's strange since PHP4 and 5 both use the same ini file on my > dev box. And so they both get the following ini setting: > > date.timezone="Canada/Eastern" > > And in php 4.4.4 I get the bad output, but in php 5.2.0 I get t

RE: [PHP] dst and strtotime

2007-03-13 Thread Brad Fuller
Jake McHenry wrote: > Why would one give me EST and the other EDT? Because EDT did not kick in until 2 or 3 AM on 3/11. PHP is compensating for DST by subtracting 1 hour, because php sees "last sunday" as 12:00 AM on 3/11. Subtract 1 hour and you get 11:00 PM on 3/10. > +60*60 worked after strt

Re: [PHP] dst and strtotime

2007-03-13 Thread Jake McHenry
-Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 13, 2007 11:22 AM To: For users of Fedora; PHP-General Subject: Re: [PHP] dst and strtotime A little more info: strtotime("last monday") or yesterday, is correct, but strtotime(&q

Re: [PHP] dst and strtotime

2007-03-13 Thread Jake McHenry
2:31 -0400, Jake McHenry wrote: > > > > > > > > >> -Original Message- > > > > >> From: Jake McHenry [mailto:[EMAIL PROTECTED] > > > > >> Sent: Tuesday, March 13, 2007 11:22 AM > > > > >> To: For use

Re: [PHP] dst and strtotime

2007-03-13 Thread Robert Cummings
7-03-13 at 12:31 -0400, Jake McHenry wrote: > > > > > > > > > > >> -Original Message- > > > > > >> From: Jake McHenry [mailto:[EMAIL PROTECTED] > > > > > >> Sent: Tuesday, March 13, 2007 11:22 AM > > > > >

Re: [PHP] dst and strtotime

2007-03-13 Thread Tijnema !
TECTED]> wrote: > > > > On Tue, 2007-03-13 at 12:31 -0400, Jake McHenry wrote: > > > > > > > > > > >> -Original Message- > > > > > >> From: Jake McHenry [mailto:[EMAIL PROTECTED] > > > > > >> Sent:

Re: [PHP] dst and strtotime

2007-03-13 Thread Tijnema !
3 at 12:31 -0400, Jake McHenry wrote: > > > > > > > > >> -Original Message- > > > > >> From: Jake McHenry [mailto:[EMAIL PROTECTED] > > > > >> Sent: Tuesday, March 13, 2007 11:22 AM > > > > >> To: F

Re: [PHP] dst and strtotime

2007-03-13 Thread Tijnema !
inal Message- > > > >> From: Jake McHenry [mailto:[EMAIL PROTECTED] > > > >> Sent: Tuesday, March 13, 2007 11:22 AM > > > >> To: For users of Fedora; PHP-General > > > >> Subject: Re: [PHP] dst and strtotime > > > >> >

Re: [PHP] dst and strtotime

2007-03-13 Thread Robert Cummings
lto:[EMAIL PROTECTED] > > > >> Sent: Tuesday, March 13, 2007 11:22 AM > > > >> To: For users of Fedora; PHP-General > > > >> Subject: Re: [PHP] dst and strtotime > > > >> > > > >> A little more info: > > > >> >

RE: [PHP] dst and strtotime

2007-03-13 Thread Brad Fuller
> -Original Message- > From: Jake McHenry [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 13, 2007 11:22 AM > To: For users of Fedora; PHP-General > Subject: Re: [PHP] dst and strtotime > > A little more info: > > strtotime("last monday") or y

Re: [PHP] dst and strtotime

2007-03-13 Thread Jake McHenry
t sunday? > On Tue, 2007-03-13 at 12:31 -0400, Jake McHenry wrote: >> >> >> -Original Message- >> >> From: Jake McHenry [mailto:[EMAIL PROTECTED] >> >> Sent: Tuesday, March 13, 2007 11:22 AM >> >> To: For users of Fedor

Re: [PHP] dst and strtotime

2007-03-13 Thread Robert Cummings
On Tue, 2007-03-13 at 12:50 -0400, Jake McHenry wrote: > Has or can anyone try this on PHP5 to see if it does the same? I'll upgrade > if needed, but didn't really want to at the current time.. PHP 5.2.0 works properly. Cheers, Rob. -- .--

Re: [PHP] dst and strtotime

2007-03-13 Thread Tijnema !
ilto:[EMAIL PROTECTED] >> >> Sent: Tuesday, March 13, 2007 11:22 AM >> >> To: For users of Fedora; PHP-General >> >> Subject: Re: [PHP] dst and strtotime >> >> >> >> A little more info: >> >> >> >> strtotime("la

Re: [PHP] dst and strtotime

2007-03-13 Thread Jake McHenry
On 3/13/07, Jake McHenry <[EMAIL PROTECTED]> wrote: >> -Original Message- >> From: Jake McHenry [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, March 13, 2007 11:22 AM >> To: For users of Fedora; PHP-General >> Subject: Re: [PHP] dst and strtotime >&

Re: [PHP] dst and strtotime

2007-03-13 Thread Tijnema !
users of Fedora; PHP-General > >> Subject: Re: [PHP] dst and strtotime > >> > >> A little more info: > >> > >> strtotime("last monday") or yesterday, is correct, but > >> strtotime("last > >> sunday") gives me 3

Re: [PHP] dst and strtotime

2007-03-13 Thread Jake McHenry
ailto:[EMAIL PROTECTED] >> Sent: Tuesday, March 13, 2007 11:22 AM >> To: For users of Fedora; PHP-General >> Subject: Re: [PHP] dst and strtotime >> >> A little more info: >> >> strtotime("last monday") or yesterday, is correct, but >> strtot

Re: [PHP] dst and strtotime

2007-03-13 Thread Robert Cummings
On Tue, 2007-03-13 at 12:31 -0400, Jake McHenry wrote: > > >> -Original Message- > >> From: Jake McHenry [mailto:[EMAIL PROTECTED] > >> Sent: Tuesday, March 13, 2007 11:22 AM > >> To: For users of Fedora; PHP-General > >> Subject: Re: [PHP

Re: [PHP] dst and strtotime

2007-03-13 Thread Tijnema !
On 3/13/07, Jake McHenry <[EMAIL PROTECTED]> wrote: >> -Original Message- >> From: Jake McHenry [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, March 13, 2007 11:22 AM >> To: For users of Fedora; PHP-General >> Subject: Re: [PHP] dst and strtotime >&

Re: [PHP] dst and strtotime

2007-03-13 Thread Jake McHenry
t;>>> Thanks, >>>> Jake >>>> >>>> - Original Message - >>>> From: "Jake McHenry" < [EMAIL PROTECTED]> >>>> To: "PHP-General" >>>> Sent: Monday, March 12, 200

Re: [PHP] dst and strtotime

2007-03-13 Thread Tijnema !
t;>> Thanks, >>>> Jake >>>> >>>> - Original Message - >>>> From: "Jake McHenry" <[EMAIL PROTECTED]> >>>> To: "PHP-General" >>>> Sent: Monday, March 12, 2007 12:26 PM >>>> S

Re: [PHP] dst and strtotime

2007-03-13 Thread Jake McHenry
s fine. Thanks, Jake - Original Message - From: "Jake McHenry" <[EMAIL PROTECTED]> To: "PHP-General" Sent: Monday, March 12, 2007 12:26 PM Subject: Re: [PHP] dst and strtotime > yepper > > date > Mon Mar 12 12:25:33 EDT 2007 Is this from PHP or fr

Fw: [PHP] dst and strtotime

2007-03-12 Thread Jake McHenry
- Original Message - From: "Jake McHenry" <[EMAIL PROTECTED]> To: "PHP-General" Sent: Monday, March 12, 2007 12:26 PM Subject: Re: [PHP] dst and strtotime > yepper > > date > Mon Mar 12 12:25:33 EDT 2007 Is this from PHP or from bash? Sometimes th

Re: [PHP] dst and strtotime

2007-03-12 Thread Jake McHenry
Jake McHenry" <[EMAIL PROTECTED]> To: "PHP-General" Sent: Monday, March 12, 2007 12:26 PM Subject: Re: [PHP] dst and strtotime > yepper > > date > Mon Mar 12 12:25:33 EDT 2007 Is this from PHP or from bash? Sometimes those differ... 2007-03-12 17:34:22 2007-03-12

Re: [PHP] dst and strtotime

2007-03-12 Thread Tijnema !
ry" <[EMAIL PROTECTED]> To: "PHP-General" Sent: Monday, March 12, 2007 12:26 PM Subject: Re: [PHP] dst and strtotime > yepper > > date > Mon Mar 12 12:25:33 EDT 2007 Is this from PHP or from bash? Sometimes those differ... Tijnema > > - Original

Re: [PHP] dst and strtotime

2007-03-12 Thread Jake McHenry
ot; Sent: Monday, March 12, 2007 12:26 PM Subject: Re: [PHP] dst and strtotime yepper date Mon Mar 12 12:25:33 EDT 2007 - Original Message - From: "Peter Lauri" <[EMAIL PROTECTED]> To: "'Jake McHenry'" <[EMAIL PROTECTED]>; "'PHP-Gene

Re: [PHP] dst and strtotime

2007-03-12 Thread Jake McHenry
yepper date Mon Mar 12 12:25:33 EDT 2007 - Original Message - From: "Peter Lauri" <[EMAIL PROTECTED]> To: "'Jake McHenry'" <[EMAIL PROTECTED]>; "'PHP-General'" Sent: Monday, March 12, 2007 5:23 PM Subject: RE: [PHP] d

RE: [PHP] dst and strtotime

2007-03-12 Thread Peter Lauri
> To: PHP-General > Subject: [PHP] dst and strtotime > > Hi everyone, > > I was hoping a problem like this wouldn't arise, but it happened :( > > After the dst updates on my fedora box, this broke, and worked fine > before.. > now gives me 3/10 instead of 3/11 fo

[PHP] dst and strtotime

2007-03-12 Thread Jake McHenry
Hi everyone, I was hoping a problem like this wouldn't arise, but it happened :( After the dst updates on my fedora box, this broke, and worked fine before.. now gives me 3/10 instead of 3/11 for strtotime("last sunday") anyone know why? 3/10 was saturday! $recent_period = strtotime('l