Bug #15557: Date Command date("Y-m-t"); Not Correct with system time

From: Date: Thu, 14 Feb 2002 17:40:24 +0000
Subject: Bug #15557: Date Command date("Y-m-t"); Not Correct with system time
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-319@lists.php.net to get a copy of this message
From: ttweb@onlineok.com Operating system: Slackware 8.0 PHP version: 4.1.1 PHP Bug Type: Date/time related Bug description: Date Command date("Y-m-t"); Not Correct with system time Well i noticed in my database that all the times where set to 2002-28-02 and cheaked the code. All seams okay even the system is correct. I assume that the date command has a bug in it. The text format like the day of the week is correct but when you use the numbers its all wrong. -- Edit bug report at http://bugs.php.net/?id=15557&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15557&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15557&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15557&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15557&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15557&r=support Expected behavior: http://bugs.php.net/fix.php?id=15557&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15557&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15557&r=submittedtwice

« previous php.bugs (#319) next »