Re: strtotime strangeness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yeah, the ;Y" was a typo in my email. That's what happens while trying to type while watching my Colts play!

Thanks!
Floyd

On Oct 4, 2009, at 3:06 PM, Tommy Pham wrote:

----- Original Message ----
From: Floyd Resler <fresler@xxxxxxxxxxxxx>
To: Andrea Giammarchi <an_red@xxxxxxxxxxx>
Cc: php-general@xxxxxxxxxxxxx
Sent: Sun, October 4, 2009 12:01:30 PM
Subject: Re:  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 found out that
date(:Y",$timestamp) returns 0000. However, date("y",$timestamp) returns the two digit year properly. So it seems there is an issue with the four digit
year.

Thanks!
Floyd

<snip>

i hope :Y" is a typo in the email and not in your code.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux