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

From: Date: Thu, 14 Feb 2002 17:52:01 +0000
Subject: Bug #15557 Updated: Date Command date("Y-m-t"); Not Correct with system time
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-320@lists.php.net to get a copy of this message
ID: 15557 Updated by: cnewbill@php.net -Summary: Date Command date("Y-m-t"); Not Correct with system time Reported By: ttweb@onlineok.com -Status: Open +Status: Feedback Bug Type: Date/time related Operating System: Slackware 8.0 PHP Version: 4.1.1 New Comment: Well, for starters your listed date and the date format you have listed in the bug title aren't the same. Y-m-t = Year{4} - Month - Day of Month So let's try reworking your report. Send the: Expected Date Format Actual Date Format Code Snippet that actually makes the date inserted into your DB. I somehow doubt this is a bug. -Chris Previous Comments: ------------------------------------------------------------------------ [2002-02-14 12:40:23] ttweb@onlineok.com 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 this bug report at http://bugs.php.net/?id=15557&edit=1

« previous php.bugs (#320) next »