Re: strtotime strangeness

From: Date: Sun, 04 Oct 2009 19:22:35 +0000
Subject: Re: strtotime strangeness
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-298580@lists.php.net to get a copy of this message
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@adex-intl.com> To: Andrea Giammarchi <an_red@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


« previous php.general (#298580) next »