Re: [PHP] strtotime strangeness

2009-10-05 Thread Daniel Brown
On Mon, Oct 5, 2009 at 12:15, Jim Lucas wrote: > > You stated that you are running PHP 5.2.10 , too bad the function recommend > (locale_get_default()) is only available in PHP 5.3 or newer. That's my fault entirely, not Floyd's. I didn't look to see what version of PHP he was running. --

Re: [PHP] strtotime strangeness

2009-10-05 Thread Jim Lucas
Floyd Resler wrote: > Well that's odd. locale_get_default() gave me an undefined function > error. Apparently this year problem has been reported as a bug on > bugs.php.net but the status for it (and everything else) is Bogus. I'm > not sure if that means anything or not but hopefully a fix wil

Re: [PHP] strtotime strangeness

2009-10-05 Thread Floyd Resler
Well that's odd. locale_get_default() gave me an undefined function error. Apparently this year problem has been reported as a bug on bugs.php.net but the status for it (and everything else) is Bogus. I'm not sure if that means anything or not but hopefully a fix will be coming soon. Th

Re: [PHP] strtotime strangeness

2009-10-05 Thread Daniel Brown
On Sun, Oct 4, 2009 at 17:00, Floyd Resler wrote: > Sorry to hear that!  I live in Cincinnati so I normally don't get to watch > the Colts play when they are on at the same time as the Bengals.  But this > week I did and, best of all, they won! Yeah, well, the Browns sure didn't, so bite me.

Re: [PHP] strtotime strangeness

2009-10-04 Thread Floyd Resler
Sorry to hear that! I live in Cincinnati so I normally don't get to watch the Colts play when they are on at the same time as the Bengals. But this week I did and, best of all, they won! On Oct 4, 2009, at 3:24 PM, Eddie Drapkin wrote: On Sun, Oct 4, 2009 at 3:22 PM, Floyd Resler wrote:

Re: [PHP] strtotime strangeness

2009-10-04 Thread Eddie Drapkin
On Sun, Oct 4, 2009 at 3:22 PM, Floyd Resler wrote: > Yeah, the ;Y" was a typo in my email.  That's what happens while trying to > type while watching my Colts play! > > Thanks! > Floyd > Go Colts! At least you get to watch it, I have to follow along on sports sites! -- PHP General Mailing List

Re: [PHP] strtotime strangeness

2009-10-04 Thread Floyd Resler
n, October 4, 2009 12:01:30 PM Subject: Re: [PHP] strtotime strangeness I couldn't find anything in the php.ini file to account for this. I am running PHP 5.2.10. I've never actually updated it myself so the software updater updated it at some point. I did a little test and fo

Re: [PHP] strtotime strangeness

2009-10-04 Thread Tommy Pham
- Original Message > From: Floyd Resler > To: Andrea Giammarchi > Cc: php-general@lists.php.net > Sent: Sun, October 4, 2009 12:01:30 PM > Subject: Re: [PHP] strtotime strangeness > > I couldn't find anything in the php.ini file to account for this. I a

Re: [PHP] strtotime strangeness

2009-10-04 Thread Floyd Resler
x-intl.com > To: php-general@lists.php.net > Date: Sun, 4 Oct 2009 14:05:05 -0400 > Subject: [PHP] strtotime strangeness > > For some reason the strtotime is no longer returning the year > portion. For example, strtotime("10/04/2009") will result in a date > of -10-0

RE: [PHP] strtotime strangeness

2009-10-04 Thread Andrea Giammarchi
Did the OS update changed the default locale settings or the default date format? > From: fres...@adex-intl.com > To: php-general@lists.php.net > Date: Sun, 4 Oct 2009 14:05:05 -0400 > Subject: [PHP] strtotime strangeness > > For some reason the strtotime is no longer

[PHP] strtotime strangeness

2009-10-04 Thread Floyd Resler
For some reason the strtotime is no longer returning the year portion. For example, strtotime("10/04/2009") will result in a date of -10-04. This started happening recently and I haven't done any updates other than the normal OS updates. I am running Mac OS X 10.5.8. Does anyone hav

[PHP] strtotime() strangeness

2006-09-04 Thread Paul Scott
I am trying to convert a date and time (from the apache2 server logs) in the format of 27/Aug/2006:19:02:20 +0200 to a UNIX timestamp and then reformat it as a RFC compliant date by using date('r', $thedate); My problem is as such. In PHP-5.1.2 it works perfectly and returns the correct date. In