php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15557 Date Command date("Y-m-t"); Not Correct with system time
Submitted: 2002-02-14 12:40 UTC Modified: 2002-03-15 00:00 UTC
Votes:3
Avg. Score:4.0 ± 1.4
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: ttweb at onlineok dot com Assigned:
Status: No Feedback Package: Date/time related
PHP Version: 4.1.1 OS: Slackware 8.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ttweb at onlineok dot com
New email:
PHP Version: OS:

 

 [2002-02-14 12:40 UTC] ttweb at onlineok dot 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-14 12:52 UTC] 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-03-15 00:00 UTC] php-bugs at lists dot php dot net
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".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC