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

From: Date: Fri, 15 Mar 2002 05:00:03 +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-2548@lists.php.net to get a copy of this message
ID: 15557 Updated by: php-bugs@lists.php.net Reported By: ttweb@onlineok.com -Status: Feedback +Status: No Feedback Bug Type: Date/time related Operating System: Slackware 8.0 PHP Version: 4.1.1 New Comment: No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-02-14 12:52:01] cnewbill@php.net 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 ------------------------------------------------------------------------ [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 (#2548) next »