----- Original Message ---- > From: Floyd Resler <fres...@adex-intl.com> > To: Andrea Giammarchi <an_...@hotmail.com> > 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 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